Skip to content

chore(converters): remove the quantms/mzTab converter - #231

Merged
ypriverol merged 5 commits into
devfrom
chore/remove-mztab-converter
Aug 4, 2026
Merged

ypriverol merged 5 commits into
devfrom
chore/remove-mztab-converter

Conversation

@ypriverol

Copy link
Copy Markdown
Contributor

Summary

Removes the quantms/mzTab converter entirely. The consensusXML converter (openms-consensus) and OpenMS -out_qpx now cover feature/psm/pg, and the mzTab feature path was the only remaining natural-key collision source (see #229). Removing it means a natural feature key is sufficient across all supported producers, with no minted identifiers.

What's removed

  • qpx/converters/quantms/ — the converter + feature/psm/pg adapters
  • qpx/converters/mztab.py — the mzTab + MSstats loader
  • the quantms CLI command, converters.__init__ exports, the quantms column-mappings section
  • the now-dead mzTab spectra_ref helpers in utils.py (parse_scan_numbers, resolve_run_file) + the unused re import
  • quantms-only tests; quantms cases trimmed from shared test modules
  • docs: the ## quantms convert-guide section, the converter-coverage row, and stale docstrings in channel_labels.py / orchestrator.py

Kept deliberately

  • qpx/converters/ptm.py — shared by every other converter (fragpipe, cdap, diann, mzidentml, maxquant); the mzTab references there are the modification notation, not the converter.
  • tests/examples/quantms/ SDRF fixtures — a channel-label test still reads one SDRF TSV for label parsing (not the converter), so the fixtures stay.

Verification

  • Confirmed no real coupling to the new OpenMS paths (-out_qpx, consensusXML) — only comment-level mentions of mzTab.
  • Full suite green: 793 passed.
  • CodeRabbit review (vs dev): 0 findings across all 23 changed files.

~4,835 lines removed.

Related: #229 (feature PK), #230 (MBR columns).

The consensusXML converter (openms-consensus) and OpenMS -out_qpx now cover
feature/psm/pg, and the mzTab feature path was the only remaining natural-key
collision source (see #229). Remove the whole quantms/mzTab path:

- delete qpx/converters/quantms/ (converter + feature/psm/pg adapters) and
  qpx/converters/mztab.py (mzTab+MSstats loader)
- drop the 'quantms' CLI command, converters.__init__ exports, the quantms
  column-mappings section, and the dead mzTab spectra_ref helpers in utils.py
- remove quantms-only tests; trim quantms cases from shared test modules
- update docs (convert guide, converter-coverage) and stale docstrings

Shared ptm.py and the quantms SDRF fixtures (used for channel-label tests) are
kept. Full suite green (793 passed).
@qodo-code-review

Copy link
Copy Markdown

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@coderabbitai

coderabbitai Bot commented Aug 4, 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: Pro Plus

Run ID: 44b33d4d-5e1f-47d4-8a5e-501314ff401e

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

codacy-production Bot commented Aug 4, 2026 •

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · -14 duplication

Metric Results
Complexity 0
Duplication -14

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.

The pytest import was only used by the removed quantms test classes; ruff F401.
Line-reflow only (openms-consensus command signature + a test SQL string);
no logic change. Satisfies the pre-commit ruff-format all-files hook.
@ypriverol
ypriverol merged commit 67c0952 into dev Aug 4, 2026
8 checks passed
@ypriverol
ypriverol deleted the chore/remove-mztab-converter branch August 7, 2026 15:48
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.

2 participants