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:
John Chilton
2026-02-26 09:54:16 +01:00
committed by mvdbeek
co-authored by Claude Opus 4.6
parent 8f9a57d0e5
commit 40e1c36180
+1 -1
View File
@@ -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