Skip to content

Commit

Permalink
minor fixes after qiita-rc deploy (#3431)
Browse files Browse the repository at this point in the history
  • Loading branch information
antgonza authored Sep 10, 2024
1 parent 6f1a3d4 commit 913a31f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions qiita_db/metadata_template/prep_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -815,6 +815,9 @@ def _get_predecessors(workflow, node):
pred.append(data)
return pred

# this is only helpful for when there are no _get_predecessors
return pred

# Note: we are going to use the final BIOMs to figure out which
# processing is missing from the back/end to the front, as this
# will prevent generating unnecessary steps (AKA already provided
Expand Down Expand Up @@ -937,6 +940,8 @@ def _get_predecessors(workflow, node):
if set(merging_schemes[info]) >= set(cxns):
init_artifacts = merging_schemes[info]
break
if not predecessors:
pnode = node
if init_artifacts is None:
pdp = pnode.default_parameter
pdp_cmd = pdp.command
Expand Down

0 comments on commit 913a31f

Please sign in to comment.