Repository navigation
[FIX] PEFFFile: keep variant descriptions and sequences paired - #10495
timosachsenberg merged 5 commits into
Conversation
…nces paired Co-Authored-By: Claude Opus 5.5 <[email protected]>
… sequence cannot be parsed Push the description only after AASequence::fromString succeeded, in getVariantSequences (simple and complex) and the reference branch of digestWithVariants. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Priority: ⬇️ Low Change: Bug fix Merge Risk: ⚪ Minimal · up to
|
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
develop added a block of entries right after "OpenMS Library:", where this PR's entry was, so the two conflicted. Moving the entry two entries down lets the PR merge cleanly; its text is unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_012GBvJZN8neGpv9RoUshwFL
…nts) Only the CHANGELOG conflicted; both sides are kept. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01B51nRFoHvZuVXD7cT8XZav
#10547) Conflicts: - FileConverter: develop no longer converts peaks to consensus maps (#10561); the native marking of unassigned identifications stays. - ConversionHelper_test: develop's PeakMap conversion tests go with the conversion; this branch's identification section stays. - MapAlignmentAlgorithmIdentification: #10576 removed better_. The map path takes the score direction from the run's primary score definition, and with use_feature_rt a feature without a passing identification is no alignment point (as #10576 does for peptide identifications). - MapAlignmentAlgorithmIdentification_test: the #10576 section and the #10568 setReference() section build native map identifications. A map cannot mix score directions (the import rejects it), so the test expects that rejection and checks both directions separately, with an unidentified first feature. MapAlignmentAlgorithmPoseClustering: develop's selectFeatures_() (#10561) copied only the legacy identifications, while StablePairFinder here reads the native ones through the feature links. It now uses the new MapConversion::convert() overload for selected features, which keeps the identification data of the selected features like the first-n overload. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01B51nRFoHvZuVXD7cT8XZav
PEFFEntry::getVariantSequences(and the reference branch ofdigestWithVariants) pushed the description beforeAASequence::fromString, so one unparsable variant left an orphan description and shifted every later pair.Fix: push the sequence first, then the description. The new
PEFFFile_testcase (variants P3a, I5L, 2-3>aa, 6-7>KR) gets 4 descriptions for 2 sequences without it.🤖 Generated with Claude Code
Summary by CodeRabbit