Skip to content

Commit

Permalink
ensure cwl files are absolute
Browse files Browse the repository at this point in the history
  • Loading branch information
rcannood committed Aug 9, 2024
1 parent 94f9fc6 commit cbbc222
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/bd_rhapsody/bd_rhapsody_make_reference/script.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def get_cwl_file(meta: dict[str, Any]) -> str:
# create cwl file (if need be)
cwl_file=os.path.join(meta["resources_dir"], "make_rhap_reference_2.2.1_nodocker.cwl")

return cwl_file
return os.path.abspath(cwl_file)

def main(par: dict[str, Any], meta: dict[str, Any]):
config = read_config(meta["config"])
Expand Down
2 changes: 1 addition & 1 deletion src/bd_rhapsody/bd_rhapsody_sequence_analysis/script.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def generate_cwl_file(meta: dict[str, Any], dir: str) -> str:
else:
cwl_file = orig_cwl_file

return cwl_file
return os.path.abspath(cwl_file)

def copy_outputs(par: dict[str, Any], config: dict[str, Any]):
for arg in config["arguments"]:
Expand Down

0 comments on commit cbbc222

Please sign in to comment.