Repository navigation
chore(converters): remove the quantms/mzTab converter - #231
Conversation
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 reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
|
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: Pro Plus 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 | -14 |
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.
Summary
Removes the quantms/mzTab converter entirely. The consensusXML converter (
openms-consensus) and OpenMS-out_qpxnow 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 adaptersqpx/converters/mztab.py— the mzTab + MSstats loaderquantmsCLI command,converters.__init__exports, thequantmscolumn-mappings sectionspectra_refhelpers inutils.py(parse_scan_numbers,resolve_run_file) + the unusedreimport## quantmsconvert-guide section, the converter-coverage row, and stale docstrings inchannel_labels.py/orchestrator.pyKept 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
-out_qpx, consensusXML) — only comment-level mentions of mzTab.dev): 0 findings across all 23 changed files.~4,835 lines removed.
Related: #229 (feature PK), #230 (MBR columns).