Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. `primary_output_assigned` needs to be reset for each output lets say there are two outputs: `datasets` (a normal dataset) and `discovered` (discovered datasets). if `datasets` is processed after `discovered` then `primary_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 outer loop). 2. assign_primary_output must be obeyed for all outputs (not just the first). sticking to the above example, `assign_primary_output` would work only if `dataset` is processed after `discovered`
- Loading branch information