From d2fcdeb0c142501c9f236a62a8a34616b34f8088 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francisco=20Carrillo=20P=C3=A9rez?= Date: Wed, 10 Jul 2024 19:42:31 +0200 Subject: [PATCH] Update command_line.py Fixed typo when creating profile_path --- sim3C/command_line.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sim3C/command_line.py b/sim3C/command_line.py index 0d8b8ce..f11b452 100644 --- a/sim3C/command_line.py +++ b/sim3C/command_line.py @@ -193,7 +193,7 @@ def main(): logger.error('Arguments to profile-name should not contain path information') sys.exit(1) - profile_path = os.path.join(os.path.dirname(args.output_file), args.profile_name) + profile_path = os.path.join(os.path.dirname(args.output_file_1), args.profile_name) if os.path.exists(profile_path): logger.error('Delete or move previous procedural abundance profile: {}'.format(profile_path)) sys.exit(1)