File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
qiita_db/metadata_template Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -815,6 +815,9 @@ def _get_predecessors(workflow, node):
815
815
pred .append (data )
816
816
return pred
817
817
818
+ # this is only helpful for when there are no _get_predecessors
819
+ return pred
820
+
818
821
# Note: we are going to use the final BIOMs to figure out which
819
822
# processing is missing from the back/end to the front, as this
820
823
# will prevent generating unnecessary steps (AKA already provided
@@ -937,6 +940,8 @@ def _get_predecessors(workflow, node):
937
940
if set (merging_schemes [info ]) >= set (cxns ):
938
941
init_artifacts = merging_schemes [info ]
939
942
break
943
+ if not predecessors :
944
+ pnode = node
940
945
if init_artifacts is None :
941
946
pdp = pnode .default_parameter
942
947
pdp_cmd = pdp .command
You can’t perform that action at this time.
0 commit comments