Repository navigation
IsobaricWorkflow: give every consensus feature a unique ID - #10201
timosachsenberg merged 2 commits into
Conversation
The consensus features are created without a unique ID (the setUniqueId call in fillConsensusFeature_() has been commented out since the tool was added), and cmap.ensureUniqueId() only covers the map itself. So every feature was written as id="e_0"; consensusElement/@id is xs:ID in ConsensusXML_1_7.xsd, so the output did not validate as soon as more than one feature was written. Ensure unique IDs for the map and all its features before storing. The two consensusXML references change only in their consensusElement id attributes (test mode seeds the ID generator, so the IDs are reproducible); the QPX outputs are unchanged.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (4)
Included review availability: Your plan provides up to 4 included reviews per hour; 1 remains after this review. 📝 WalkthroughWalkthroughIsobaricWorkflow now assigns unique IDs to the consensus map and each consensus feature. Two consensusXML test outputs and the release notes reflect this correction. ChangesIsobaricWorkflow identifier correction
Priority: ⬇️ Low Change: Bug fix · Severity of issue fixed: Low 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 1 files. (3 skipped: 3 unsupported.)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. A rabbit hops through IDs so bright Comment |
Routine documentation check against recently merged commits: - TheoreticalSpectrumGeneratorXLMS precursor-isotope fix cited #10148 (copied from the entry above) instead of its own PR #10194. - The IsobaricWorkflow unique-ID and FileMerger precursor-spectrumRef fixes had no PR citation at all; add #10201 and #10200. - The new glycan_fragmentation doxygen page (added in #10204) was never linked from the mainpage's Documentation list, unlike the other feature tutorial pages there. Claude-Session: https://claude.ai/code/session_01Gzxw7tzAc3wu9kBS6k253g Co-authored-by: Claude <[email protected]>
Description
IsobaricWorkflow wrote every consensus feature with
id="e_0": the features are createdwithout a unique ID (the
setUniqueIdcall infillConsensusFeature_()is commented out)and
cmap.ensureUniqueId()only covers the map itself.consensusElement/@idisxs:IDinConsensusXML_1_7.xsd, so the output does not validate as soon as more than one feature is
written. The checked-in references show it: 5 features, 1 distinct ID.
The tool now ensures unique IDs for the map and all its features before storing, the same
treatment the spectra -> consensusXML path of FileConverter gets in #10161.
The two consensusXML references change only in their
consensusElementid attributes(test mode seeds the ID generator, so the IDs are reproducible); the QPX outputs are
unchanged. CHANGELOG entry under Fixes.
Prepared with AI assistance; I reviewed the changes.
Checklist
Summary by CodeRabbit