diff --git a/weis/glue_code/runWEIS.py b/weis/glue_code/runWEIS.py index d07cb6164..bda9a2fd6 100644 --- a/weis/glue_code/runWEIS.py +++ b/weis/glue_code/runWEIS.py @@ -67,10 +67,6 @@ def run_weis(fname_wt_input, fname_modeling_options, fname_opt_options, color_i = 0 rank = 0 - # make the folder_output relative to the input, if it's a relative path - analysis_input_dir = os.path.dirname(opt_options['fname_input_analysis']) - opt_options['general']['folder_output'] = os.path.join(analysis_input_dir,opt_options['general']['folder_output']) - folder_output = opt_options['general']['folder_output'] if rank == 0 and not os.path.isdir(folder_output): os.makedirs(folder_output,exist_ok=True) diff --git a/weis/inputs/analysis_schema.yaml b/weis/inputs/analysis_schema.yaml index 70917ccd9..f93e050cd 100644 --- a/weis/inputs/analysis_schema.yaml +++ b/weis/inputs/analysis_schema.yaml @@ -11,7 +11,7 @@ properties: folder_output: type: string default: output - description: Name of folder to dump output files + description: Name of folder to dump output files. The path can be absolute or relative. When a relative path is defined, the path starts from folder where WEIS is run. fname_output: type: string default: output