Skip to content

[API,PARAM] remove the outdated qcML tools and QcMLFile - #10736

Merged
poshul merged 2 commits into
developfrom
feature/remove_qcml_tools
Oct 29, 2026
Merged

poshul merged 2 commits into
developfrom
feature/remove_qcml_tools

Conversation

@timosachsenberg

@timosachsenberg timosachsenberg commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Description

Closes #10735.

qcML has been replaced by the HUPO-PSI mzQC format. This PR removes the tools that only read or write qcML, and the qcML file support behind them.

Removed

  • TOPP tools QCEmbedder, QCExporter, QCExtractor, QCImporter, QCMerger and QCShrinker, with their executables.cmake entries, TOPP.doxygen entries and the share/OpenMS/examples/QCImporter data
  • QcMLFile: the class, QcMLFile_test and its test data
  • FileTypes::QCML and the code that detects qcML files by content (<MzQualityMLType)
  • share/OpenMS/XSL/QcML_report_sheet.xsl and share/OpenMS/CV/qc-cv-legacy.obo, which only the qcML code used
  • pyOpenMS: the QcMLFile, QualityParameter and Attachment bindings and their tests, and FileType.QCML
  • The TOPP_QCCalculator_1 qcML test and its expected output

Changed

  • QCCalculator now writes mzQC only. The TOPP_QCCalculator_2 mzQC test is unchanged. Three parameters that only affected qcML output are removed:
    • out_type: mzQC is now the only output format.
    • consensus and remove_duplicate_features: the mzQC writer never used them.
  • FileHandler::storeQC drops the matching consensus_map and remove_duplicate_features arguments. QCCalculator was its only caller, and pyOpenMS doesn't bind it.
  • ToolHandler_test used QCShrinker as a sample registry entry. It now checks QCCalculator, which is registered in every build.

QualityControl and the OpenMS/QC metric classes don't use qcML and are unchanged. MzQCFile still uses TIC, SpectrumCount, FeatureSummary and IdentificationSummary.

Merge with develop

develop is merged in (a970794, 2026-10-28). The only conflicts: develop fixed QcMLFile twice in the meantime (#10741, #10724), and this PR deletes the class and its test, so the deletions stay. Nothing else on develop refers to QcMLFile, FileTypes::QCML or the removed tools.

Testing

  • CI was green on the first version (1098cb7).
  • Locally on the develop merge (Linux, g++ 13, Release, PYOPENMS=OFF): the whole tree builds, and all 2,736 class and TOPP tests pass, among them FileHandler_test, FileTypes_test, MRMFeatureFilter_test, MRMFeatureQC_test, ToolHandler_test and the TOPP_QCCalculator and TOPP_QualityControl tests. The pyOpenMS changes are covered by CI only.

Checklist

  • Make sure that you are listed in the AUTHORS file
  • I have commented my code, particularly in hard-to-understand areas
  • New and existing unit tests pass locally with my changes
  • Updated or added python bindings for changed or new classes (Tick if no updates were necessary.)

No need to edit the CHANGELOG file: entries are generated automatically once per week from merged changes.


Generated by Claude Code

Summary by CodeRabbit

  • Changes
    • QCCalculator now produces mzQC output only; qcML output and ConsensusXML input are no longer supported.
    • qcML file support has been removed, including the ability to read, write, or process qcML files through the application.
    • The tools for embedding, importing, exporting, extracting, merging, and shrinking qcML files are no longer available.
    • The legacy QC ontology and HTML qcML report stylesheet have been removed.

qcML has been superseded by the HUPO-PSI mzQC format. Remove the tools that
only read or write qcML and the qcML file support behind them:

- TOPP tools QCEmbedder, QCExporter, QCExtractor, QCImporter, QCMerger and
  QCShrinker, with their docs and the QCImporter example data
- QcMLFile (class, class test and test data), FileTypes::QCML and its content
  detection, the QcML_report_sheet.xsl stylesheet and qc-cv-legacy.obo
- pyOpenMS: the QcMLFile, QualityParameter and Attachment bindings, their
  tests, and FileType.QCML

QCCalculator keeps its mzQC output. Its qcML-only parameters are removed:
out_type (mzQC is the only output), consensus and remove_duplicate_features.
FileHandler::storeQC drops the matching consensus_map and
remove_duplicate_features arguments.

ToolHandler_test used QCShrinker as a sample registry entry; it now checks
QCCalculator.

Closes #10735

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01PpT4H5B8dcTptg3twK2g7k
@coderabbitai

coderabbitai Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 41c81e99-e7ac-4ec4-860f-b020654ec39a
Commits

Reviewing files that changed from the base of the PR and between 1098cb7 and a970794.

Files ignored due to path filters: 2
  • share/OpenMS/examples/QCImporter/additional_tabular_data.csv is excluded by !**/*.csv
  • share/OpenMS/examples/QCImporter/additional_tabular_mapping.csv is excluded by !**/*.csv
Files selected for processing: 7
  • src/openms/include/OpenMS/FORMAT/FileHandler.h
  • src/openms/source/FORMAT/FileHandler.cpp
  • src/openms/source/FORMAT/QcMLFile.cpp
  • src/pyOpenMS/bindings/bind_misc.cpp
  • src/tests/class_tests/openms/executables.cmake
  • src/tests/class_tests/openms/source/QcMLFile_test.cpp
  • src/tests/topp/CMakeLists.txt
Files with no reviewable changes: 7
  • src/tests/class_tests/openms/executables.cmake
  • src/openms/source/FORMAT/QcMLFile.cpp
  • src/tests/class_tests/openms/source/QcMLFile_test.cpp
  • src/openms/source/FORMAT/FileHandler.cpp
  • src/openms/include/OpenMS/FORMAT/FileHandler.h
  • src/pyOpenMS/bindings/bind_misc.cpp
  • src/tests/topp/CMakeLists.txt

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.

Walkthrough

The change removes qcML support from OpenMS, including its file adapter, file-type registration, Python bindings, and six TOPP tools. QCCalculator now writes mzQC only and no longer accepts consensusXML input or duplicate-feature handling.

Changes: qcML removal and mzQC-only QCCalculator

Layer / File(s) Summary
Remove qcML format support
src/openms/include/OpenMS/FORMAT/*, src/openms/source/FORMAT/*, share/OpenMS/CV/qc-cv-legacy.obo, share/OpenMS/XSL/QcML_report_sheet.xsl, src/pyOpenMS/..., src/tests/class_tests/openms/...
The qcML adapter and file-type support are removed from the C++ API, file handling, Python bindings, and build lists. Related tests and fixtures are removed, along with the legacy QC ontology and report stylesheet.
Remove qcML TOPP tools
src/topp/QCEmbedder.cpp, src/topp/QCExporter.cpp, src/topp/QCExtractor.cpp, src/topp/QCImporter.cpp, src/topp/QCMerger.cpp, src/topp/QCShrinker.cpp, src/topp/executables.cmake, src/tests/class_tests/openms_cli/source/ToolHandler_test.cpp
The six qcML tools are removed from their implementations and TOPP declarations. The tool registry test now checks QCCalculator.
Restrict QCCalculator to mzQC
src/topp/QCCalculator.cpp, src/tests/topp/*, doc/doxygen/public/TOPP.doxygen
QCCalculator no longer offers qcML output, consensusXML input, or duplicate-feature handling. Its storage call selects MZQC, and the qcML test and fixture are removed. The TOPP documentation reflects the remaining output and tool list.

Possibly related issues

  • OpenMS/OpenMS#10747: This issue identifies a QcMLFile process-wide state hazard, and this change removes QcMLFile.
  • OpenMS/OpenMS#10744: This issue covers process-wide state hazards, including the QcMLFile hazard removed here.

Possibly related PRs

  • OpenMS/OpenMS#10712: This change removes collectQCData and its qcML tests, which that PR modified.
  • OpenMS/OpenMS#10723: This change removes the qcML serialization implementation modified by that PR.
  • OpenMS/OpenMS#10724: This change removes QcMLFile::Attachment serialization modified by that PR.

Priority: Low

Change: Other

Merge Risk: Minimal · up to a9707

The qcML removal and mzQC-only path appear consistent. No identified issue blocks merging, subject to normal build and test checks.

Pre-merge checks: Passed 4
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly and concisely identifies the main changes: removal of outdated qcML tools and the QcMLFile API.
Linked Issues check Passed [#10735] The directly linked issue requires removal or deprecation of the outdated qcML tools. The PR removes the six qcML-only TOPP tools, their build and documentation entries, QcMLFile, `FileType…
Out of Scope Changes check Passed The changes support the qcML removal in [#10735]. The FileHandler::storeQC signature loses arguments used only by the removed qcML path. ToolHandler_test uses the still-registered QCCalculator a…
Full details: Linked Issues check

Explanation

[#10735] The directly linked issue requires removal or deprecation of the outdated qcML tools. The PR removes the six qcML-only TOPP tools, their build and documentation entries, QcMLFile, FileTypes::QCML, qcML content detection, related qcML resources, and the associated pyOpenMS bindings and tests. QCCalculator now writes mzQC only, and the qcML-only parameters and test are removed. The issue provides no additional coding acceptance criteria.

Full details: Out of Scope Changes check

Explanation

The changes support the qcML removal in [#10735]. The FileHandler::storeQC signature loses arguments used only by the removed qcML path. ToolHandler_test uses the still-registered QCCalculator after removal of QCShrinker. Test, fixture, ontology, stylesheet, and build-list changes remove qcML-only dependencies. The ignored CSV files belong to the removed QCImporter example and are excluded from review. No unrelated change is established.

Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

A rabbit checks the format list.
qcML hops off; mzQC stays.
Six tool names leave the page.
The calculator writes one way.
I nibble clover, then review.

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

…moved)

develop fixed QcMLFile twice (#10741, #10724); this PR deletes the class
and its test, so the deletions stay.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01QCca81HsAA1N4o71qn9ECw
@poshul
poshul merged commit ca42f1f into develop Oct 29, 2026
33 checks passed
@poshul
poshul deleted the feature/remove_qcml_tools branch October 29, 2026 11:58
timosachsenberg pushed a commit that referenced this pull request Nov 2, 2026
Conflicts:
- FileHandler.cpp: the includes take develop's MzPeakFile.h and drop
  QcMLFile.h (qcML removed in #10736); OMSFile.h and PSMArrowIO.h stay
  removed.
- FileConverter.cpp: mzPeak input and output (#10771) without the "oms"
  formats, which this branch removes.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01B51nRFoHvZuVXD7cT8XZav
timosachsenberg pushed a commit that referenced this pull request Nov 2, 2026
…ges natively

Conflicts and ports:
- QcMLFile.cpp: removed with qcML (#10736).
- FeatureFinderAlgorithmMetaboIdent (#10765): with FAIMS, a target without
  features is kept once (by PeptideRef), without a CV, and only if no CV
  group found it. Its class test checks that now.
- FeatureFinderIdentificationAlgorithm (#10787): the candidates of all CV
  groups are written together (appendFeatures, annotated with their CV);
  runOnCandidates post-processes FAIMS candidates per CV, each group with the
  identification data of the candidates, and erases the features no group
  keeps with the identifications only they link.
- FeatureOverlapFilter::mergeFAIMSFeatures (#10765): features identified as
  different peptides are not merged (first linked match), and the merged
  feature takes over the links of the other once per spectrum and run.
- MultiplexResolverAlgorithm (#10783): owner-aware blacklist;
  ownerPeptides() reads the first linked identification, peptideKey() takes
  the sequence (as AASequence::toString() writes it) instead of a PeptideHit.
  Develop's new tests build their identifications as identification data.
- MS1LabeledWorkflow (#10783): joining separately detected channels and the
  targeted quantification work on the linked and unassigned identifications;
  identifications move with MS1LabeledIdentifications::moveIdentifications().

Reference outputs: MS1LabeledWorkflow_2, _11_targeted_mbr, _13_targeted_mbr,
ProteomicsLFQ_3 and ProteomicsLFQ_3_seedRT are develop's files with the
unassigned peptide identifications in the order this branch writes them
(run by run, by query ID); the identifications and all other lines are
equal (compared block by block), as before the merge.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01B51nRFoHvZuVXD7cT8XZav
timosachsenberg added a commit that referenced this pull request Nov 7, 2026
…d Removed (#10838)

* [DOC] CHANGELOG: summarize 3.7.0 in Major additions, Major changes and Removed

The 3.7.0 section had grown to about 1300 lines of per-PR details, too long
to read before an upgrade. Replace it with three short blocks (Major
additions, Major changes, Removed), one bullet per feature with the PR
numbers; the details stay in the linked pull requests. The summary also
names the qcML tools, QcMLFile and the pyOpenMS classes removed in #10736.

The weekly changelog-sync agent now keeps only these blocks: extend the
bullet of a feature instead of adding one, at most three lines per bullet,
no bug-fix or parameter-level entries, and every removed tool, class,
parameter or pyOpenMS API named under Removed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HJitekJKm6HFXbNXbrdeof

* [DOC] changelog-sync: removed parameters as BREAKING notes, packaging PRs, empty sections

- Removed lists removed tools, classes and pyOpenMS names, taken from the
  diff; removed or renamed tool parameters are named in the BREAKING note of
  the tool's bullet, as the 3.7.0 summary does for ProSE. A removal goes
  under Removed even when another block covers the feature.
- Also read PRs that change only packaging (vcpkg.json, overlays,
  dockerfiles, release.yml, packaging scripts), which the file filter skips
  (e.g. the OpenSSL bump #10458), and stop only when no PR was merged.
- A new release section starts empty: create a missing block in order.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HJitekJKm6HFXbNXbrdeof

---------

Co-authored-by: Claude <[email protected]>
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.

deprecate/remove outdated qcml tools

3 participants