diff --git a/rt2ms_py3/rt2ms_py3.py b/rt2ms_py3/rt2ms_py3.py index 69ff7d94270768343857fbc6474179ba1e7539a1..ddd9284a4a4bddb3963295e940c6c9d85abd4df7 100644 --- a/rt2ms_py3/rt2ms_py3.py +++ b/rt2ms_py3/rt2ms_py3.py @@ -89,7 +89,7 @@ def get_args() -> Tuple[List[str], bool, str, str, str, bool]: # Output directory soh_only = args.write_no_data output_dir = args.output_dir - if soh_only is False: + if soh_only is False and exploratory_mode is False: if not os.path.exists(output_dir): try: os.makedirs(output_dir) @@ -100,7 +100,7 @@ def get_args() -> Tuple[List[str], bool, str, str, str, bool]: # Logs directory logs_dir = os.path.join(os.path.dirname(args.output_dir), 'LOGS') - if not os.path.exists(logs_dir): + if not os.path.exists(logs_dir) and exploratory_mode is False: try: os.makedirs(logs_dir) except OSError: