Skip to content

Commit

Permalink
Quickfix for moving away tool working directory
Browse files Browse the repository at this point in the history
We should probably just move the contents though ??
  • Loading branch information
mvdbeek committed Oct 30, 2023
1 parent ec02a26 commit b61c354
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/galaxy/tool_util/cwl/runtime_actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,8 @@ def handle_known_output_json(output, output_name):
handle_known_output_json(None, output_name)

job_metadata = os.path.join(job_directory, cwl_metadata_params["job_metadata"])
# We may have moved away the tool working directory
os.makedirs(tool_working_directory, exist_ok=True)
with open(job_metadata, "w") as f:
json.dump(provided_metadata, f)

Expand Down

0 comments on commit b61c354

Please sign in to comment.