Skip to content

Commit 913a31f

Browse files
authored
minor fixes after qiita-rc deploy (#3431)
1 parent 6f1a3d4 commit 913a31f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

qiita_db/metadata_template/prep_template.py

+5
Original file line numberDiff line numberDiff line change
@@ -815,6 +815,9 @@ def _get_predecessors(workflow, node):
815815
pred.append(data)
816816
return pred
817817

818+
# this is only helpful for when there are no _get_predecessors
819+
return pred
820+
818821
# Note: we are going to use the final BIOMs to figure out which
819822
# processing is missing from the back/end to the front, as this
820823
# will prevent generating unnecessary steps (AKA already provided
@@ -937,6 +940,8 @@ def _get_predecessors(workflow, node):
937940
if set(merging_schemes[info]) >= set(cxns):
938941
init_artifacts = merging_schemes[info]
939942
break
943+
if not predecessors:
944+
pnode = node
940945
if init_artifacts is None:
941946
pdp = pnode.default_parameter
942947
pdp_cmd = pdp.command

0 commit comments

Comments
 (0)