Skip to content

[FIX] FileInfo: consensusXML quality statistics count each feature once - #10498

Merged
jpfeuffer merged 2 commits into
OpenMS:developfrom
okohlbacher:claude/fileinfo-consensus-quality-stats-20261010
Oct 10, 2026
Merged

jpfeuffer merged 2 commits into
OpenMS:developfrom
okohlbacher:claude/fileinfo-consensus-quality-stats-20261010

Conversation

@okohlbacher

Copy link
Copy Markdown
Contributor

FileInfo -s on a consensusXML built qualities (and widths) with size zeros and then push_backed, so the "Qualities of consensus features" summary covered twice the features, half of them 0.
Fix: construct them empty with reserve(size), like intensities.
Test: FileInfo_7_output.txt recorded the bug (10 values for 5 features); it now holds the statistics hand-computed from the five qualities of the input, and TOPP_FileInfo_7_out1 fails without the fix.

🤖 Generated with Claude Code

…e zeros

qualities and widths were constructed with size elements and then filled by
push_back, so the summary covered 2*size values, half of them 0.0. The
expected output of TOPP_FileInfo_7 encoded the defect (10 qualities for 5
consensus features); it is replaced by the values computed by hand from the
five qualities in FileInfo_7_input.consensusXML (0.5, 1.5, 1, 0.4, 0.5).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@coderabbitai

coderabbitai Bot commented Oct 10, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 55 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 4 included reviews currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 0b3ee55a-a455-4814-a8a1-6f9dd9285a1d

📥 Commits

Reviewing files that changed from the base of the PR and between a5720bb and 5805d7d.


📒 Files selected for processing (3)
  • CHANGELOG
  • src/openms/source/FORMAT/FileInfo.cpp
  • src/tests/topp/FileInfo_7_output.txt

  • 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

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

@jpfeuffer
jpfeuffer enabled auto-merge October 10, 2026 22:00
@jpfeuffer
jpfeuffer merged commit feda203 into OpenMS:develop Oct 10, 2026
11 of 12 checks passed
timosachsenberg added a commit that referenced this pull request Oct 15, 2026
Combines the entries of the open CHANGELOG pull requests #10387, #10483,
#10511, #10535, #10555 and #10580 into one change on top of develop, and
covers #10252 and #10267, whose edits develop already carries.

- OpenMS Library: PeptDeepLibraryPredictor (#10380),
  OpenSwathLibraryPreparation (#10373), BedRModFile (#10529), FLASH
  averagine/cosine fix (#10543), WebAssembly-found fixes (#10558),
  MzMLSqliteHandler array length check (#10471), Percolator data race
  (#10474). #10471 and #10543 were each proposed by two of the PRs; they
  appear once.
- TOPP tools: OpenDIA as a new tool (#10373), qualified by the review on
  #10387 (peptidoform inference needs workflow:working_format sqlite), and
  the NucleicAcidSearchEngine options of #10526, #10529-#10532, moved from
  the top of the release block into the tool's section together with the
  NucleicAcidSearchEngine bullet that sat there outside any section.
- Restore the ProteomicsLFQ -feat_dir entry (#10481, #10486) and the three
  FileInfo entries (#10497, #10498, #10499) that the merge of #10470
  dropped, and remove the second copy of the -write_cwl entry it added
  (cited #10459, tab indentation replaced by spaces).
- Build System: ONNX Runtime versioned files and symlinks (#10465).
- 3.6.0: #10255 made WITH_WNETALIGN opt-in; it did not change the ONNX
  Runtime requirement (review on #10267).


Claude-Session: https://claude.ai/code/session_01QfTdEQjN4tBfS49WcriPYu

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.

2 participants