diff --git a/climax/main/preprocess.py b/climax/main/preprocess.py index b3b8f6b9a7d30bdd26e264d8b025d8d1c5fae7c0..f915e75e496374a70ce62cf04df654431a5cddfb 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)