From bb9a2ff3014257ce6383f005db92a17c87060f6a Mon Sep 17 00:00:00 2001
From: "Daniel.Frisinghelli" <daniel.frisinghelli@eurac.edu>
Date: Fri, 21 May 2021 08:50:10 +0200
Subject: [PATCH] Log which files are processed.

---
 climax/main/preprocess.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/climax/main/preprocess.py b/climax/main/preprocess.py
index 5d4dbbc..7605d7b 100644
--- a/climax/main/preprocess.py
+++ b/climax/main/preprocess.py
@@ -60,6 +60,8 @@ if __name__ == '__main__':
                   file.stem.startswith(args.variable)]
         LOGGER.info('Files matching "{}" for variable "{}":'.format(
             args.pattern, args.variable))
+        LOGGER.info(('\n ' + (len(__name__) + 1) * ' ').join(
+                    ['{}'.format(file) for file in source]))
 
         # check whether to only print which files would be processed
         if not args.dry_run:
-- 
GitLab