mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
If one maps a tool over an empty collection, one should get an empty output collection for each of the tool's outputs. This should have always been a valid operation I think, the code just wasn't quite structured right when the collection work was merged - there were too many places I was assuming the existence of at least one actual output or input that was mapped over to continue going. This reworks all of that and seems to handle empty collections appropriately. Fixes #4025 (not being informing the user of the operation, but actually by allowing the operation - which it should be allowed I think).