We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f1a3d4 commit 913a31fCopy full SHA for 913a31f
qiita_db/metadata_template/prep_template.py
@@ -815,6 +815,9 @@ def _get_predecessors(workflow, node):
815
pred.append(data)
816
return pred
817
818
+ # this is only helpful for when there are no _get_predecessors
819
+ return pred
820
+
821
# Note: we are going to use the final BIOMs to figure out which
822
# processing is missing from the back/end to the front, as this
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
945
if init_artifacts is None:
946
pdp = pnode.default_parameter
947
pdp_cmd = pdp.command
0 commit comments