Skip to content

Commit

Permalink
Update src/toil/cwl/cwltoil.py
Browse files Browse the repository at this point in the history
Co-authored-by: Michael R. Crusoe <[email protected]>
  • Loading branch information
stxue1 and mr-c authored Nov 15, 2024
1 parent 645fd25 commit 9dac988
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions src/toil/cwl/cwltoil.py
Original file line number Diff line number Diff line change
Expand Up @@ -3820,13 +3820,11 @@ def visitSteps(
# All CWL Process objects (including CommandLineTool) will have tools
# if they bothered to run the Process __init__.
return op(cmdline_tool.tool)
else:
raise RuntimeError(
f"Unsupported type encountered in workflow "
f"traversal: {type(cmdline_tool)}"
)
# Satisfy mypy, but this branch should never be reached in practice
return []
raise RuntimeError(
f"Unsupported type encountered in workflow "
f"traversal: {type(cmdline_tool)}"
)



def rm_unprocessed_secondary_files(job_params: Any) -> None:
Expand Down

0 comments on commit 9dac988

Please sign in to comment.