You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need a little help setting up output directories in a workflow of mine. Say I have:
Modules: Module 1, Module 2
Subworkflow: SWF 1
Workflow: Calls SWF1 (and others, but for simplicity...)
Module 1 & Module 2 both have an outdir parameter with a default.
1 - params.outdir = "first_step"
2 - params.outdir = "second_step"
When I include the modules in the subworkflow, I recognize I can set the outdir to something else, but I basically want to prepend another path if it called in the subworkflow step.
1 - "from_swf/first_step"
2 - "from_swf/second_step"
I don't want to hardcode the outdir in each module because it should be able to be updated if used in a different context than the subworkflow.
Is there a way to do this easily with only one parameter 'params.outdir' across the modules? Thanks!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey guys,
I need a little help setting up output directories in a workflow of mine. Say I have:
Modules: Module 1, Module 2
Subworkflow: SWF 1
Workflow: Calls SWF1 (and others, but for simplicity...)
Module 1 & Module 2 both have an outdir parameter with a default.
1 - params.outdir = "first_step"
2 - params.outdir = "second_step"
When I include the modules in the subworkflow, I recognize I can set the outdir to something else, but I basically want to prepend another path if it called in the subworkflow step.
1 - "from_swf/first_step"
2 - "from_swf/second_step"
I don't want to hardcode the outdir in each module because it should be able to be updated if used in a different context than the subworkflow.
Is there a way to do this easily with only one parameter 'params.outdir' across the modules? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions