mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-11-02 11:48:57 +08:00
The endswith check matched partial type names: e.g.
'list:paired_or_unpaired'.endswith('paired') was True because
'paired' is a suffix of 'paired_or_unpaired'. This incorrectly
reported list:paired_or_unpaired as having subcollections of type
paired (violates PAIRED_OR_UNPAIRED_NOT_CONSUMED_BY_PAIRED_WHEN_MAPPING
in collection_semantics.yml). Fix by requiring ':' prefix in the
endswith check — the exact-match case is already handled by the
equality check above.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>