Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes: #17263 .. guess both bugs are there forever (>10 years)
primary_output_assigned
needs to be reset for each outputlets say there are two outputs:
datasets
(a normal dataset)and
discovered
(discovered datasets). ifdatasets
isprocessed after
discovered
thenprimary_output_assigned
is still true from the first loop (where
discovered
was precessed).this leads to overwriting of info (e.g. name) of the
dataset
output(in the
if primary_output_assigned
branch at the end of the outerloop).
assign_primary_output must be obeyed for all outputs (not just the
first).
sticking to the above example,
assign_primary_output
wouldwork only if
dataset
is processed afterdiscovered
I added a test case for the 2nd part. No idea how to test the first (I manually tested it with
planemo serve
).#16203 is still broken
How to test the changes?
(Select all options that apply)
License