Add collapse_collection tool with polished UI and help#7810
Open
nekrut wants to merge 7 commits intogalaxyproject:mainfrom
Open
Add collapse_collection tool with polished UI and help#7810nekrut wants to merge 7 commits intogalaxyproject:mainfrom
nekrut wants to merge 7 commits intogalaxyproject:mainfrom
Conversation
Imported from phac-nml/galaxy_tools, renamed merge.xml to collapse_collection.xml. Rewrote help with structured Synopsis/Description/Examples format. Added inline SVG diagram via macros.xml. Improved input labels and help attributes. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
bgruening
reviewed
Mar 22, 2026
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Replace raw HTML SVG with PNG via $PATH_TO_IMAGES - Ship SVG source in static/images/ - Remove display="checkboxes" from one_header - Clean up output tag (self-closing) - Add citation for phac-nml/galaxy_tools - .shed.yml: add long_description, remote_repository_url, homepage_url Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Contributor
bernt-matthias
left a comment
There was a problem hiding this comment.
Isn't this the same as https://toolshed.g2.bx.psu.edu/repositories/12213e550a6c4a72
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
| preserving collection order. Supports header deduplication and dataset name | ||
| prepending in several placement modes. | ||
| name: collapse_collections | ||
| owner: iuc |
Contributor
There was a problem hiding this comment.
Mu suggestion would be
Suggested change
| owner: iuc | |
| owner: nml |
otherwise there will be two collapse_collections tools in the future. But this will only work if nml grants write access to the toolshed repo.
Member
There was a problem hiding this comment.
@nekrut we need to solve this. We should not break the tool lineage.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This is one of the foundational collection tools. It lived in https://github.com/Takadonet but should be brought into iuc. This PR does that and makes UI much less confusing.
Summary
collapse_collectiontool from phac-nml/galaxy_toolsmerge.xmltocollapse_collection.xmlfor consistency with tool idmacros.xmltoken) illustrating header merging with dataset name prependingTest plan
planemo l— lint passes (remaining warnings are pre-existing: boolean conditional, no citations)planemo t— all 3 tests pass🤖 Generated with Claude Code