Skip to content

Multiple inputs add default workflow #3371

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Prev Previous commit
Next Next commit
just one element
  • Loading branch information
antgonza committed Feb 20, 2024
commit 2ef9604677f0650476307d62e1a46c0b3daddeac
3 changes: 2 additions & 1 deletion qiita_db/metadata_template/prep_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -917,7 +917,8 @@ def _get_predecessors(workflow, node):
predecessors = _get_predecessors(wk, node)
cmds_to_create = []
init_artifacts = None
for i, (pnodes, cnode, cxns) in enumerate(predecessors):
# we only need to "loop" over the first element
for pnodes, cnode, cxns in predecessors[:1]:
cdp = cnode.default_parameter
cdp_cmd = cdp.command
params = cdp.values.copy()
Expand Down