Repository navigation
Default local_input_type to raw and enforce supported local file formats - #64
Merged
Merged
Conversation
2 tasks
Copilot
AI
changed the title
[WIP] Fix local raw file type to default to raw instead of mzML
Default Apr 21, 2026
local_input_type to raw and enforce supported local file formats
- Move the --local_input_type validation to the top of CREATE_INPUT_CHANNEL so it fails fast before any channel processing. - Bump pipeline version to 2.1.0dev for the next development cycle.
Extend the allowed values for --local_input_type to include the Bruker .d compressed archive variants that the pipeline already decompresses (.d.tar, .d.tar.gz, .d.zip). The DECOMPRESS process handles all three and emits a .d directory, so users can point --root_folder at folders of .d.zip archives and set --local_input_type=d.zip without tripping the validator.
Revert the Math.min wrappers on memory and cpus; resourceLimits already caps allocations at 1900.GB / 48 cpus, so the manual clamping was redundant and cluttered the expression.
Move input type validation before SDRF parsing
|
yueqixuan
approved these changes
Apr 22, 2026
Populate the [Unreleased] section (bumped to 2.1.0dev by the version manifest change) with entries for the --local_input_type default switch, the schema enum / runtime validation, the Bruker .d archive variants, the pride_codon_slurm resource cleanup, and the native-raw stageInMode fix merged from #68. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
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.
local_input_typewas defaulting tomzML, which conflicts with the typical local input flow (raw→ TRFP conversion). The parameter also needed strict validation to prevent unsupported formats (e.g..wiff) from being accepted.Parameter defaults and constraints
local_input_typedefault frommzMLtorawin pipeline defaults.mzML,raw,d,dia,d.tar,d.tar.gz,d.zip..darchive variants (d.tar,d.tar.gz,d.zip) are decompressed automatically by the workflow (.d.zipis exercised by thetest_dia_dotdprofile / PXD065380 SDRF).Runtime validation in local file resolution
CREATE_INPUT_CHANNELto fail early when--root_folderis used with an unsupported--local_input_type.Docs alignment
rawas the default and the supported value set.