Repository navigation
fix(parquet IO): FeatureMap MetaValue + ProteinIdentification identifier parity with XML lane - #9400
Conversation
…_metavalues key) so setPrimaryMSRunPath/spectra_data survives parquet store+load, mirroring ConsensusMapArrowIO's existing cmap_metavalues handling. Co-Authored-By: Claude Opus 4.7 <[email protected]>
…entifier handling — synthesize fresh identifier per IdXMLFile.cpp:530 on every parquet load and re-stamp owned pep_id collections (3 entry points), plus mirror XMLHandler::checkUniqueIdentifiers_ as a fatal pre-store check (3 entry points). Co-Authored-By: Claude Opus 4.7 <[email protected]>
…ipped .idparquet files (shared stored run_identifier) as distinct IdentificationRuns after IDMerger remerge + IDFileConverter to .idXML; plus CHANGELOG entries for both fixes. Co-Authored-By: Claude Opus 4.7 <[email protected]>
|
@jonasscheid The following names might be missing from the
Please consider applying the following patch: --- AUTHORS 2026-05-24 07:08:20.509877596 +0000
+++ AUTHORS.new 2026-05-24 07:08:24.673477780 +0000
@@ -59,6 +59,7 @@
- Johannes Veit
- Johannes von Kleist
- Johan Teleman
+ - Jonas Scheid
- Joshua Charkow
- Juliane Schmachtenberg
- Julianus Pfeuffer |
|
Cool, thanks! |
|
At some point we might need to improve the uid and run identifier handling. I opened an issue as this is not part of this PR |
📝 WalkthroughWalkthroughThis PR adds parquet round-trip fidelity for FeatureMap metadata and ProteinIdentification run identifiers. It introduces three new identifier-handling helpers in ChangesRun Identifier Synthesis and MetaValue Preservation
Sequence Diagram(s)The changes introduce a clear sequential flow for identifier synthesis during parquet import that benefits from visualization: sequenceDiagram
participant ParquetFile as Parquet File<br/>(stored identifiers)
participant Loader as Import Function
participant SynthHelper as synthesizeRunIdentifiers
participant RenameHelper as applyRunIdentifierRename
participant Memory as In-Memory Data
ParquetFile->>Loader: Read ProteinIdentifications +<br/>PeptideIdentifications
Loader->>SynthHelper: Pass loaded ProteinIdentification vector
SynthHelper->>SynthHelper: For each ProtID:<br/>Generate unique ID<br/>(engine_date_uid)
SynthHelper->>Memory: Update ProtID identifiers in-place
SynthHelper->>RenameHelper: Return map<br/>(stored→synthesized)
RenameHelper->>Memory: Apply rename to matching<br/>PeptideIdentifications
RenameHelper->>Memory: Leave orphan IDs unchanged
Memory->>Loader: Return synthesized data
Loader->>Loader: Return to caller
Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Warning Review ran into problems🔥 ProblemsGit: Failed to clone repository. Please run the 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 |
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@src/openms/source/FORMAT/FeatureMapArrowIO.cpp`:
- Around line 1843-1849: The loop only renames peptide IDs on top-level
features, but subordinate features (added by importPSMsFromArrow and after
synthesizeRunIdentifiers) retain stale run identifiers; update the code in
FeatureMapArrowIO.cpp to walk each feature's subordinate tree and call
ProteinIdentificationArrowIO::applyRunIdentifierRename(rename, ...) for every
subordinate's PeptideIdentification list as well as the top-level feature.
Implement this by adding a recursive helper or lambda (e.g.,
renamePeptideIdsRecursively) that takes a Feature reference, calls
ProteinIdentificationArrowIO::applyRunIdentifierRename(rename,
feature.getPeptideIdentifications()), then iterates feature.getSubordinates()
and recurses; invoke it for each feature in feature_map and keep the existing
call for feature_map.getUnassignedPeptideIdentifications().
In `@src/tests/class_tests/openms/source/PSMArrowIO_test.cpp`:
- Around line 84-90: The test indexes pep_ids_in[0] before verifying the
collection is non-empty; add a guard assertion for pep_ids_in (e.g.,
TEST_NOT_EQUAL or TEST_EQUAL size check) before any indexing so failures produce
a clear assertion instead of a crash—locate the block that uses pep_ids_in and
prot_ids_in (symbols: pep_ids_in, prot_ids_in, getIdentifier()) and insert a
size check for pep_ids_in immediately before
TEST_STRING_EQUAL(pep_ids_in[0].getIdentifier(), ...).
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: a1c16433-ce9f-4e69-bd7b-3256d0febed5
⛔ Files ignored due to path filters (4)
src/tests/topp/IDRipper_4_input.idparquet/protein_groups.parquetis excluded by!**/*.parquetsrc/tests/topp/IDRipper_4_input.idparquet/proteins.parquetis excluded by!**/*.parquetsrc/tests/topp/IDRipper_4_input.idparquet/psms.parquetis excluded by!**/*.parquetsrc/tests/topp/IDRipper_4_input.idparquet/search_params.parquetis excluded by!**/*.parquet
📒 Files selected for processing (14)
CHANGELOGsrc/openms/include/OpenMS/FORMAT/ProteinIdentificationArrowIO.hsrc/openms/source/FORMAT/ConsensusMapArrowIO.cppsrc/openms/source/FORMAT/FeatureMapArrowIO.cppsrc/openms/source/FORMAT/PSMArrowIO.cppsrc/openms/source/FORMAT/ProteinIdentificationArrowIO.cppsrc/tests/class_tests/openms/source/ConsensusMapArrowIO_test.cppsrc/tests/class_tests/openms/source/FeatureMapArrowIO_test.cppsrc/tests/class_tests/openms/source/FileHandler_test.cppsrc/tests/class_tests/openms/source/PSMArrowIO_test.cppsrc/tests/class_tests/openms/source/ProteinIdentificationArrowIO_test.cppsrc/tests/topp/CMakeLists.txtsrc/tests/topp/IDRipper_4_input_README.mdsrc/tests/topp/IDRipper_4_input_generate.py
| for (auto& feature : feature_map) | ||
| { | ||
| ProteinIdentificationArrowIO::applyRunIdentifierRename( | ||
| rename, feature.getPeptideIdentifications()); | ||
| } | ||
| ProteinIdentificationArrowIO::applyRunIdentifierRename( | ||
| rename, feature_map.getUnassignedPeptideIdentifications()); |
There was a problem hiding this comment.
Rename subordinate-feature peptide IDs too.
Line 1843 only walks top-level features. importPSMsFromArrow() attaches peptide IDs to subordinate features recursively, so those nested PeptideIdentifications keep the stale stored run identifier after synthesizeRunIdentifiers() and no longer match the renamed ProteinIdentifications.
🔧 Suggested fix
- for (auto& feature : feature_map)
- {
- ProteinIdentificationArrowIO::applyRunIdentifierRename(
- rename, feature.getPeptideIdentifications());
- }
+ std::function<void(Feature&)> rename_peptide_ids = [&](Feature& feature)
+ {
+ ProteinIdentificationArrowIO::applyRunIdentifierRename(
+ rename, feature.getPeptideIdentifications());
+ for (auto& subordinate : feature.getSubordinates())
+ {
+ rename_peptide_ids(subordinate);
+ }
+ };
+ for (auto& feature : feature_map)
+ {
+ rename_peptide_ids(feature);
+ }
ProteinIdentificationArrowIO::applyRunIdentifierRename(
rename, feature_map.getUnassignedPeptideIdentifications());📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| for (auto& feature : feature_map) | |
| { | |
| ProteinIdentificationArrowIO::applyRunIdentifierRename( | |
| rename, feature.getPeptideIdentifications()); | |
| } | |
| ProteinIdentificationArrowIO::applyRunIdentifierRename( | |
| rename, feature_map.getUnassignedPeptideIdentifications()); | |
| std::function<void(Feature&)> rename_peptide_ids = [&](Feature& feature) | |
| { | |
| ProteinIdentificationArrowIO::applyRunIdentifierRename( | |
| rename, feature.getPeptideIdentifications()); | |
| for (auto& subordinate : feature.getSubordinates()) | |
| { | |
| rename_peptide_ids(subordinate); | |
| } | |
| }; | |
| for (auto& feature : feature_map) | |
| { | |
| rename_peptide_ids(feature); | |
| } | |
| ProteinIdentificationArrowIO::applyRunIdentifierRename( | |
| rename, feature_map.getUnassignedPeptideIdentifications()); |
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@src/openms/source/FORMAT/FeatureMapArrowIO.cpp` around lines 1843 - 1849, The
loop only renames peptide IDs on top-level features, but subordinate features
(added by importPSMsFromArrow and after synthesizeRunIdentifiers) retain stale
run identifiers; update the code in FeatureMapArrowIO.cpp to walk each feature's
subordinate tree and call
ProteinIdentificationArrowIO::applyRunIdentifierRename(rename, ...) for every
subordinate's PeptideIdentification list as well as the top-level feature.
Implement this by adding a recursive helper or lambda (e.g.,
renamePeptideIdsRecursively) that takes a Feature reference, calls
ProteinIdentificationArrowIO::applyRunIdentifierRename(rename,
feature.getPeptideIdentifications()), then iterates feature.getSubordinates()
and recurses; invoke it for each feature in feature_map and keep the existing
call for feature_map.getUnassignedPeptideIdentifications().
| // Identifier is synthesized on load per IdXMLFile.cpp:530 parity — the stored | ||
| // "run_1" is replaced with `<search_engine>_<date>_<UniqueIdGenerator>`. The | ||
| // pep_id collection is re-stamped in lock-step so both sides agree. | ||
| TEST_NOT_EQUAL(prot_ids_in[0].getIdentifier(), ""); | ||
| TEST_NOT_EQUAL(prot_ids_in[0].getIdentifier(), "run_1"); | ||
| TEST_STRING_EQUAL(pep_ids_in[0].getIdentifier(), prot_ids_in[0].getIdentifier()); | ||
| TEST_STRING_EQUAL(prot_ids_in[0].getSearchParameters().digestion_enzyme.getName(), "Trypsin"); |
There was a problem hiding this comment.
Guard pep_ids_in before indexing.
Line 89 indexes pep_ids_in[0] before asserting pep_ids_in.size(), so a regression could crash the test instead of failing with a clear assertion.
Suggested fix
TEST_EQUAL(prot_ids_in.size(), 1);
+ TEST_EQUAL(pep_ids_in.size(), 1);
// Identifier is synthesized on load per IdXMLFile.cpp:530 parity — the stored
// "run_1" is replaced with `<search_engine>_<date>_<UniqueIdGenerator>`. The
// pep_id collection is re-stamped in lock-step so both sides agree.
TEST_NOT_EQUAL(prot_ids_in[0].getIdentifier(), "");
TEST_NOT_EQUAL(prot_ids_in[0].getIdentifier(), "run_1");
TEST_STRING_EQUAL(pep_ids_in[0].getIdentifier(), prot_ids_in[0].getIdentifier());
@@
- TEST_EQUAL(pep_ids_in.size(), 1);
TEST_EQUAL(pep_ids_in[0].getHits().size(), 1);🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@src/tests/class_tests/openms/source/PSMArrowIO_test.cpp` around lines 84 -
90, The test indexes pep_ids_in[0] before verifying the collection is non-empty;
add a guard assertion for pep_ids_in (e.g., TEST_NOT_EQUAL or TEST_EQUAL size
check) before any indexing so failures produce a clear assertion instead of a
crash—locate the block that uses pep_ids_in and prot_ids_in (symbols:
pep_ids_in, prot_ids_in, getIdentifier()) and insert a size check for pep_ids_in
immediately before TEST_STRING_EQUAL(pep_ids_in[0].getIdentifier(), ...).
FeatureMapArrowIO_test and ConsensusMapArrowIO_test assert that exportToParquet throws Exception::InvalidValue on duplicate ProteinIdentification run identifiers (#9400 Fix #2b), but the PSM lane guard (PSMArrowIO.cpp) was not directly unit-tested. Add an [EXTRA] section mirroring the sibling tests: a second ProteinIdentification colliding on the same run identifier must be rejected before any parquet is written. Implements the §3 PSM-lane duplicate-id item from the OpenMS 3.6 release-testing plan (#9460). https://claude.ai/code/session_018EZ5DVWpC74wbXSo9utFBC
…tion (#9500) * test(ProForma): pin QPX/Parquet peptidoform round-trip fidelity Add a ProFormaParser_test [EXTRA] section asserting that the exact write/read chain QPXFile and FeatureMapArrowIO use for the peptidoform column -- write: ProForma::toString(fromAASequence(seq), WriteMode::CANONICAL) read: ProForma::toAASequence(parse(str), ConversionPolicy::BEST_EFFORT) -- preserves modifications across a round-trip for common UNIMOD mods (Oxidation, Phospho, Carbamidomethyl) plus an unmodified backbone. Mirrors the existing round-trip sections: it asserts backbone, length, and per-position isModified() rather than exact toString (notation may normalize), so a silently dropped modification in the Parquet/QPX lane -- which feeds the new quant outputs -- fails at the unit level. Implements the "ProForma fidelity through the Parquet/QPX lane" item from the OpenMS 3.6 release-testing plan (#9460). https://claude.ai/code/session_018EZ5DVWpC74wbXSo9utFBC * test(SpectrumNativeIDParser): cover Bruker TDF frame= / MS:1002818 The method-level sections only exercised scan=/MS:1000776; the parser supports the Bruker timsTOF .d (TDF) native-ID format "frame=<F> scan=<S>" (with optional trailing precursor=/windowGroup=/merged= tokens emitted by the DDA/DIA-PASEF reader) but no test pinned it. Add an [EXTRA] section asserting isNativeID() recognizes the frame= prefix, getRegExFromNativeID() targets the scan= token, and extractScanNumber(..., "MS:1002818") returns the scan= integer (last scan= for merged PASEF spectra). Implements the §6 "SpectrumNativeIDParser MS:1002818/frame=" item from the OpenMS 3.6 release-testing plan (#9460). https://claude.ai/code/session_018EZ5DVWpC74wbXSo9utFBC * test(PSMArrowIO): pin store-side duplicate-identifier rejection FeatureMapArrowIO_test and ConsensusMapArrowIO_test assert that exportToParquet throws Exception::InvalidValue on duplicate ProteinIdentification run identifiers (#9400 Fix #2b), but the PSM lane guard (PSMArrowIO.cpp) was not directly unit-tested. Add an [EXTRA] section mirroring the sibling tests: a second ProteinIdentification colliding on the same run identifier must be rejected before any parquet is written. Implements the §3 PSM-lane duplicate-id item from the OpenMS 3.6 release-testing plan (#9460). https://claude.ai/code/session_018EZ5DVWpC74wbXSo9utFBC * test(PSMArrowIO): clean up temp dir in duplicate-id section Addresses a CodeRabbit review nitpick: the new duplicate-identifier section was the only one not removing its NEW_TMP_FILE directory. Add the same conditional File::removeDirRecursively cleanup the other sections use, so a regression that let the export run (instead of throwing) does not leave an .idparquet artifact behind. https://claude.ai/code/session_018EZ5DVWpC74wbXSo9utFBC * test(ProForma): assert monoisotopic mass in QPX/Parquet round-trip Per review of #9500: the per-position isModified() check confirms a modification is still present but not its identity/mass. Add a TEST_REAL_SIMILAR on AASequence::getMonoWeight() so a modification silently changed to a different mass (not just dropped) also fails the round-trip test, without depending on canonical-notation equality. https://claude.ai/code/session_018EZ5DVWpC74wbXSo9utFBC --------- Co-authored-by: Claude <[email protected]>
…le round-trip (#9460) (#9604) * [TEST] Parquet (§3): parquet->parquet idempotency + FeatureLinker bundle round-trip (#9460) Close the remaining §3 (native Parquet I/O) [AUTO] gaps of the OpenMS 3.6.0 pre-release testing plan (#9460). Tests only. - L137: FeatureMapArrowIO_test -- a parquet->parquet content-idempotency section. The existing sections cover memory->parquet->memory; this re-exports an imported bundle and re-imports it, asserting the two imported maps are field-identical (features, hulls, subordinates, metavalues, PSMs, protein hits/groups). The run identifier is re-synthesized on every load, so identifier consistency is asserted *within* each map, not the volatile run-id string across maps. - L144: TOPP_FeatureLinkerUnlabeled_parquet -- FeatureLinker reads .featureparquet bundles and writes a .consensusparquet bundle (FileHandler directory dispatch beyond FileConverter). Inputs are converted from clean (X-free) featureXML fixtures at test time; the output is converted back to consensusXML and diffed against a committed reference (289 consensus features; deterministic under -test, transient provenance paths whitelisted). Findings while scoping L144 (the issue's own note that the dispatch is "aspirational" is partly correct): - MapAligner* tools are NOT parquet-wired (valid -in/-out formats are featureXML/mzML only), so a MapAligner parquet cell is not yet possible. - IDFilter reads/writes .idparquet bundle->bundle, but the idXML->idparquet write path is rejected ("idparquet is not allowed for storing identifications"), so an IDFilter idXML<->idparquet diff cell is not yet possible. - The PSM-lane store-side duplicate-identifier assert (L142) already landed on develop (#9400), PSMArrowIO_test. Co-Authored-By: Claude Opus 4.8 <[email protected]> * [TEST] Strengthen parquet idempotency comparisons * [TEST] FeatureMapArrowIO_test: drop cross-map run-identifier comparisons The run identifier is re-synthesized on every importFromParquet via UniqueIdGenerator::getUniqueId() (XML-lane parity with IdXMLFile), so it is intentionally non-deterministic across independent imports. Comparing fm1 vs fm2 identifiers contradicts the test's own stated intent (assert identifier consistency *within* each map). The intra-map pep-id == prot-id checks (and all content assertions) remain. Co-Authored-By: Claude Opus 4.8 <[email protected]> --------- Co-authored-by: Claude Opus 4.8 <[email protected]>
Summary
Closes two parquet-IO-layer gaps that prevented the mhcquant QUANT chain from producing a deliverable mzTab + tsv equivalent to the legacy XML lane (gaps surfaced by the
feature/idparquet-quant-toolsvalidation work). Both gaps are single-defense implementations where the legacy XML lane has dual defenses; this PR brings strict behavioral parity.Fix #1 —
FeatureMap-level MetaValue round-trip in parquet IOFeatureMapArrowIO::exportToParquetpreviously preserved onlydocument_id/loaded_file_path/loaded_file_type/data_processing; every other FeatureMap-level MetaValue was silently dropped on store. Most visibly:FeatureMap::setPrimaryMSRunPath(FeatureMap.cpp:415) writes its argument as aspectra_datameta-value on the FeatureMap itself, so the source-mzML paths were lost — propagatingfilename = "UNKNOWN"to FLUKD →ConsensusMap::ColumnHeader.filename→ TextExporterMAP 0 UNKNOWNrows →MzTabExporterexit code 8 (~87% of mzTab rows dropped).Now mirrors
ConsensusMapArrowIO's existingcmap_metavalueshandling: a newfmap_metavalueskey in file-level Parquet metadata carries every FeatureMap-level MetaValue.Fix #2 —
ProteinIdentificationidentifier handling parity (load + store)The legacy XML lane defends against duplicate run-identifier collisions with two complementary mechanisms, both previously absent from parquet:
searchEngine + date + UniqueIdGenerator::getUniqueId())IdXMLFile.cpp:530synthesizeRunIdentifiersXMLHandler::checkUniqueIdentifiers_checkUniqueIdentifiers(throwsException::InvalidValuewith the same message text)Wired into the 3 parquet load entry points (
PSMArrowIO::importFromParquet,FeatureMapArrowIO::importFromParquet,ConsensusMapArrowIO::importFromParquet) and the 3 corresponding store entry points. Each load entry point re-stamps every PeptideIdentification collection it owns (per-feature + unassigned for the map types; the single PSM list for.idparquet) via the newapplyRunIdentifierRenamehelper, so pep_id ↔ prot_id linkage stays consistent after synthesis.Test Plan
ProteinIdentificationArrowIO_test,FeatureMapArrowIO_test,ConsensusMapArrowIO_test,PSMArrowIO_test,FileHandler_test. New sections: meta-value round-trip per map type, synthesis happy-path / edge-cases (empty search engine, invalid date, duplicate stored identifiers), and store-sidecheckUniqueIdentifiersthrow assertion. Updated existing identifier-preservation assertions to assert the new synthesis contract (pep_id identifier equals the synthesized ProtID identifier after load).IDRipper_4proves Fix #2a end-to-end: a single merged.idparquetfixture whose storedrun_identifieris the sameTopPerc_testvalue across both ProtIDs (the post-Percolator merged shape from the validation memory) is ripped by IDRipper into two per-file.idparquetoutputs, then remerged via IDMerger and converted to.idXML. The assertion counts<IdentificationRun>elements — must equal 2. Without Fix #2a, both loaded ProtIDs would share the same stored identifier in memory and IDMerger would collapse them to 1. Fixture regenerated viaIDRipper_4_input_generate.py(pyarrow-only, no OpenMS build needed).TOPP_IDRipper_idparquet/TOPP_IDMerger_idparquet/TOPP_FileConverter_3[2-6]all still pass — the FuzzyDiff-whitelist "IdentificationRun date"already skips the identifier-bearing line, so the new synthesis suffix doesn't break byte-DIFF tests.store*call sites in TOPP tools.synthesizeRunIdentifiers+applyRunIdentifierRename+checkUniqueIdentifierseach present in all 3 source files (PSMArrowIO, FeatureMapArrowIO, ConsensusMapArrowIO).End-to-end re-validation: PBMC009 QUANT chain
Re-ran
scripts/run_quant_chain.sh PBMC009 parquetend-to-end against afeature/idparquet-quant-toolsbuild merged with this PR, then re-executedidparquet_quant_chain_comparison.ipynb. Pre-fix baseline (peridparquet-quant-chainmemory): 4 PASS / 4 FAIL outright + 1 partial. Post-fix:spectra_datacascade fix promotes MzTabExporter from exit 8 to exit 0)9 / 9 PASS.
Open question — please sanity-check
I am not 100% sure this is the right behavioral choice. My read of the design: parity-with-XML beats theoretical-correctness (deterministic identifiers across lanes would diverge parquet's load semantics from XML's, and would require touching both lanes together). The legacy XML lane has had this
UniqueIdGeneratornon-determinism since forever, and every tool downstream ofIdXMLFile::loadalready pays for it. Matching that contract minimizes surprise. The long-term cleanup — making both formats deterministic — feels like a separate, larger PR.The end-to-end QUANT chain re-validation above checks for basically identical content (counts, sums, sequences, accessions, per-feature data within numerical tolerance; the deliverable mzTab + tsv match exactly), specifically masking these UID suffixes so they don't gate the verdict. So in practice the suffix difference is invisible to downstream consumers. But it would be good to have a second pair of eyes on the design choice before this merges. Tagging
@timosachsenbergfor review.Files changed
src/openms/source/FORMAT/FeatureMapArrowIO.cppserializeMetaValues_/deserializeMetaValues_+fmap_metavaluesintegration. Fix #2:checkUniqueIdentifierson store;synthesizeRunIdentifiers+applyRunIdentifierRenameon load (per-feature + unassigned pep_id collections).src/openms/source/FORMAT/ConsensusMapArrowIO.cppcmap_metavalues— pre-existing).src/openms/source/FORMAT/PSMArrowIO.cpp.idparquettop-level store and load.src/openms/include/OpenMS/FORMAT/ProteinIdentificationArrowIO.h/.cppsrc/tests/class_tests/openms/source/{ProteinIdentificationArrowIO,FeatureMapArrowIO,ConsensusMapArrowIO,PSMArrowIO,FileHandler}_test.cppsrc/tests/topp/CMakeLists.txt+IDRipper_4_input.idparquet/+IDRipper_4_input_README.md+IDRipper_4_input_generate.pyCHANGELOGOpenMS 3.6.0 → General(referencing #9232 and #9242 as origin PRs).Compatibility
.featureparquet/.consensusparquet/.idparquetfiles load unchanged. Missingfmap_metavalueskey (pre-fix files) → no map-level meta-values restored, matching current behavior. Stored on-disk identifiers become informational only after Fix #2a.work/quant_validation/PBMC009/parquet/fromfeature/idparquet-quant-toolsruns) load with anOPENMS_LOG_WARNand a documented data-loss path (one ProtID is orphaned by the rename-map collapse). Regenerating from source data clears it; Fix #2b prevents new files from entering this state.Deferred
TOPP_FileConverter_37/_38— featureparquet / consensusparquetspectra_dataround-trip TOPP-level tests. Defer untilfeature/idparquet-quant-toolsmerges (FileConverter parquet support is needed). The class tests for Fix support chromatograms [1] #1 already cover the same code path through the C++ API.Summary by CodeRabbit
Release Notes
Bug Fixes
New Features