we have a tool which creates many (>100) output files, and would like to achieve a single history item (or whatever you would call it) from the tool with the list of output files with one download button.
We have managed to configure the tool to create a list (dataset) but in addition we get all the 100 history items, one per output file in addition. See the screenshot.
Hi @maikenp,
I believe that due to the inner logic of Galaxy collections every member of such a collection has to be represented as an independent dataset in the history. This is usually transparent to the user because the datasets are given the “hidden” flag. I suspect the tool you’ve made is not attaching such flag - check out the visible attribute in the discover docs: Galaxy Tool XML File — Galaxy Project 21.01 documentation
edit: actually I think you can just drop the <filter> tag, that is probably duplicating your outputs.
Your initial tool looks correct and the filter is supposed to work. visible="false" is not needed, that is the default setting, although it doesn’t hurt adding.
I’d strongly suggest linting and testing tools with planemo