Skip to content

Commit 0f27dda

Browse files
committed
2 commands from start & extra commands
1 parent d13be53 commit 0f27dda

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

qiita_pet/handlers/software.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -158,12 +158,10 @@ def _default_parameters_parsing(node):
158158

159159
wparams = w.parameters
160160

161-
# adding nodes without edges
162-
# as a first step if not_used_nodes is not empty we'll confirm that
163-
# nodes/edges are empty; in theory we should never hit this
161+
# This case happens when a workflow has 2 commands from the initial
162+
# artifact and one of them has more processing after
164163
if not_used_nodes and (nodes or edges) and standalone_input is None:
165-
raise ValueError(
166-
'Error, please check your workflow configuration')
164+
standalone_input = edges[0][0]
167165

168166
# note that this block is similar but not identical to adding connected
169167
# nodes

0 commit comments

Comments
 (0)