Repository navigation
fix(files): strip archived Bruker .d suffixes from run names - #336
Conversation
…om run names run.parquet kept 'run.d.zip' as run_file_name while DIA-NN-derived feature/pg tables carry the bare stem, so every run<->feature join (qpx core feature.run join, sample mapping) returned nothing for timsTOF datasets shipped as .d.zip (e.g. PXD041421, PXD071155).
|
ⓘ Qodo reviews are paused because the subscription is no longer active. Ask your workspace admin to reactivate the subscription to resume reviews. Manage billing |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 0 |
| Duplication | 0 |
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
Problem
For timsTOF data shipped as
.d.zip,run.parquetkeepsrun_file_name = 'X.d.zip'whilefeature.parquet/pg.parquet(DIA-NN) carry the bare stemX.run_file_stemonly strips.d, so every run-to-feature join (qpxfeatureJOINrun, sample to cell-line mapping) returns zero rows.Observed on published datasets PXD041421 and PXD071155 (0 of 6 and 0 of 21 samples mapped).
Fix
run_file_stem: also strip.d.zip,.d.tar,.d.tar.gz,.d.tgz. A bare.zipis left alone._RUN_EXTENSIONS: same archive suffixes for consensusXML map matching.Tests
New parametrised cases in
test_run_file_stem_preserves_meaningful_dots.tests/converters+tests/unit: 1168 passed.