From 1164129bb5d78b5a68d07b3784a81e2338ba7b96 Mon Sep 17 00:00:00 2001 From: Javier Vegas-Regidor Date: Mon, 6 Jul 2020 12:13:28 +0200 Subject: [PATCH 1/2] Better logging --- docker/dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docker/dockerfile b/docker/dockerfile index f1e4bc03..7f219776 100644 --- a/docker/dockerfile +++ b/docker/dockerfile @@ -15,11 +15,10 @@ RUN conda update -y conda pip COPY . /home/root/source WORKDIR /home/root/source RUN ls -RUN conda env update --name base --file environment.yml +RUN conda env update --name base --file environment.yml && conda clean --all -y RUN git clone https://earth.bsc.es/gitlab/es/diagonals.git RUN pip install ./diagonals RUN pip install /home/root/source -RUN conda clean --all -y RUN rm -r diagonals RUN rm -r /home/root/source -- GitLab From 3ec73206bda1bc27af15194f0216d1b09002b501 Mon Sep 17 00:00:00 2001 From: Javier Vegas-Regidor Date: Mon, 6 Jul 2020 12:14:10 +0200 Subject: [PATCH 2/2] Better logging --- earthdiagnostics/earthdiags.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/earthdiagnostics/earthdiags.py b/earthdiagnostics/earthdiags.py index dfcba88a..adda4580 100755 --- a/earthdiagnostics/earthdiags.py +++ b/earthdiagnostics/earthdiags.py @@ -514,7 +514,7 @@ class EarthDiags(object): Log.info("File {0} already exists", destiny) return True - Log.info("Copying file {0}", destiny) + Log.info("Copying file {0}", os.path.abspath(destiny)) shutil.copyfile(source, destiny) Log.info("File {0} ready", destiny) Utils.rename_variables(destiny, self.dic_variables, False) -- GitLab