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
Here, a sequence of length two is defined for the grid_size parameter in the first task. This parameter is also used in the second task. It seems that since the value is re-used, the sequence is also re-used in the second task, leading to an unexpected nesting and four elements in the second task.
The workaround to avoid this behaviour is to define the same parameter sequence in the second task as well, and set nest: False in the first task (although doing this could have unwanted consequences elsewhere in the workflow, until the nesting algorithm is re-worked):
If, as in this case, the parameter is optional in the first task, an alternative workaround is to define the parameter (and sequence) in only the second task.
The text was updated successfully, but these errors were encountered:
This is unexpected, but not really a bug. This issue should be resolved by adding an explanatory warning.
Example based on this workflow from the UoM installation:
Here, a sequence of length two is defined for the
grid_size
parameter in the first task. This parameter is also used in the second task. It seems that since the value is re-used, the sequence is also re-used in the second task, leading to an unexpected nesting and four elements in the second task.The workaround to avoid this behaviour is to define the same parameter sequence in the second task as well, and set
nest: False
in the first task (although doing this could have unwanted consequences elsewhere in the workflow, until the nesting algorithm is re-worked):If, as in this case, the parameter is optional in the first task, an alternative workaround is to define the parameter (and sequence) in only the second task.
The text was updated successfully, but these errors were encountered: