From 0b53ec70d96383a7152ee4ffcb1c1a239df541e3 Mon Sep 17 00:00:00 2001
From: "Daniel.Frisinghelli" <daniel.frisinghelli@eurac.edu>
Date: Fri, 21 May 2021 13:53:04 +0200
Subject: [PATCH] Fixed typo.

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

diff --git a/climax/main/preprocess.py b/climax/main/preprocess.py
index b3b8f6b..f915e75 100644
--- a/climax/main/preprocess.py
+++ b/climax/main/preprocess.py
@@ -100,7 +100,7 @@ if __name__ == '__main__':
                 args.scenario)
 
             # check if output path exists
-            if not output_path.exist():
+            if not output_path.exists():
                 LOGGER.info('mkdir {}'.format(output_path))
                 output_path.mkdir(parents=True, exist_ok=True)
 
@@ -120,7 +120,7 @@ if __name__ == '__main__':
                     parts['Variable']).joinpath(parts['Scenario'])
 
                 # check if output path exists
-                if not output_path.exist():
+                if not output_path.exists():
                     LOGGER.info('mkdir {}'.format(output_path))
                     output_path.mkdir(parents=True, exist_ok=True)
 
-- 
GitLab