Skip to content

Commit

Permalink
undo fast_step_cwl_load
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekZi committed Sep 21, 2023
1 parent 5e4fc51 commit 8c46654
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion cwl_airflow/extensions/cwldag.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def __init__(
task_id="CWLJobGatherer"
) if gatherer is None else gatherer
self.workflow_tool = embed_all_runs(
self.workflow_tool, cwl_args=kwargs["default_args"]["cwl"])
self.workflow_tool, cwl_args=kwargs["default_args"]["cwl"], location=self.workflow)
self.__assemble()


Expand Down
3 changes: 0 additions & 3 deletions cwl_airflow/utilities/cwl.py
Original file line number Diff line number Diff line change
Expand Up @@ -845,9 +845,6 @@ def fast_cwl_step_load(workflow, target_id, cwl_args=None, location=None):
workflow=workflow,
cwl_args=default_cwl_args
)
# modified
workflow_tool = embed_all_runs(workflow_tool, cwl_args=default_cwl_args)
# modified
selected_step = list(get_items(workflow_tool["steps"], target_id))[0][1]

workflow_steps.append(selected_step)
Expand Down

0 comments on commit 8c46654

Please sign in to comment.