mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Allow paired_or_unpaired, record, sample_sheet in collection_type validator
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
8f9a57d0e5
commit
40e1c36180
@@ -218,7 +218,7 @@ def _check_collection_type(v: str) -> str:
|
||||
raise ValueError("Invalid empty collection_type specified.")
|
||||
collection_levels = v.split(":")
|
||||
for collection_level in collection_levels:
|
||||
if collection_level not in ["list", "paired"]:
|
||||
if collection_level not in ["list", "paired", "paired_or_unpaired", "record", "sample_sheet"]:
|
||||
raise ValueError(f"Invalid collection_type specified [{v}]")
|
||||
return v
|
||||
|
||||
|
||||
Reference in New Issue
Block a user