"Conditional" Workflow Labels? (Conditional workflow resource requirements) #4750
-
I have two While the commands are the same, the resources they need for execution are dependent on the input files they receive, which in turn are dependent on which sub-workflow they execute in. Is there a way to detect which sub-workflow the process is executing under and use that? In particular in this case, I'd like to take advantage of the profiles to change the resource requests for certain clusters via labels of the processes. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
It looks like this info is available somewhere internally, as individual jobs are named like: |
Beta Was this translation helpful? Give feedback.
withName just targets the name of the process, it is not related to labels. Using withName you can target any of (1) the process base name (2) the imported name or (3) the "fully qualified" name which includes all of the subworkflow prefixes.