Commit 4911f69d authored by Gregory Ashton's avatar Gregory Ashton
Browse files

Merge branch 'fixpipe172' into 'master'

Skip conversion of label to abspath while writing complete config file

Closes #172

See merge request lscsoft/bilby_pipe!331
parents 488f3fc7 91b7ffef
Pipeline #128688 passed with stage
in 9 minutes and 40 seconds
......@@ -1045,6 +1045,8 @@ def generate_dag(inputs):
def write_complete_config_file(parser, args, inputs):
args_dict = vars(args).copy()
for key, val in args_dict.items():
if key == "label":
if isinstance(val, str):
if os.path.isfile(val) or os.path.isdir(val):
setattr(args, key, os.path.abspath(val))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment