Skip to content

fix(files): strip archived Bruker .d suffixes from run names - #336

Merged
ypriverol merged 2 commits into
devfrom
fix/run-file-stem-bruker-archives
Sep 28, 2026
Merged

ypriverol merged 2 commits into
devfrom
fix/run-file-stem-bruker-archives

Conversation

@ypriverol

Copy link
Copy Markdown
Contributor

Problem

For timsTOF data shipped as .d.zip, run.parquet keeps run_file_name = 'X.d.zip' while feature.parquet / pg.parquet (DIA-NN) carry the bare stem X. run_file_stem only strips .d, so every run-to-feature join (qpx feature JOIN run, 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 .zip is left alone.
  • openms _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.

…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-code-review

Copy link
Copy Markdown

ⓘ Qodo reviews are paused because the subscription is no longer active. Ask your workspace admin to reactivate the subscription to resume reviews. Manage billing

@coderabbitai

coderabbitai Bot commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 500045bc-7d7e-42f9-aeb9-42db0b2fe12a

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

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.

@ypriverol
ypriverol merged commit 1b1dfa1 into dev Sep 28, 2026
9 checks passed
@ypriverol
ypriverol deleted the fix/run-file-stem-bruker-archives branch October 19, 2026 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant