We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5ae4bed + 7d41a34 commit 881d4bdCopy full SHA for 881d4bd
qiita_db/metadata_template/prep_template.py
@@ -800,7 +800,12 @@ def _get_predecessors(workflow, node):
800
merging_schemes = {
801
qdb.archive.Archive.get_merging_scheme_from_job(j): {
802
x: y.id for x, y in j.outputs.items()}
803
- for j in prep_jobs if j.status == 'success' and not j.hidden}
+ # we are going to select only the jobs that were a 'success', that
804
+ # are not 'hidden' and that have an output - jobs that are not
805
+ # hidden and a successs but that do not have outputs are jobs which
806
+ # resulting artifacts (outputs) were deleted
807
+ for j in prep_jobs if j.status == 'success' and not j.hidden
808
+ and j.outputs}
809
810
# 2.
811
pt_dt = self.data_type()
0 commit comments