You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rename updateProteinReferences to removeDanglingProteinReferences (OpenMS#8500)
The function removes PeptideEvidence entries that reference proteins
that no longer exist in the protein hits. The new name more clearly
describes this removal behavior, aligning with other IDFilter methods
like removeUnreferencedProteins and removeUngroupedProteins.
Changes:
- Renamed all three overloads of the function
- Improved documentation with detailed @param[in]/[out] annotations
- Updated all usages in TOPP tools and library code
- Updated Python bindings with expanded docstring
- Updated unit tests
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: src/pyOpenMS/pxds/IDFilter.pxd
+12-1Lines changed: 12 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -81,7 +81,18 @@ cdef extern from "<OpenMS/PROCESSING/ID/IDFilter.h>" namespace "OpenMS":
81
81
82
82
void removeUnreferencedProteins(libcpp_vector[ProteinIdentification]& proteins, PeptideIdentificationList& peptides) except+ nogil # wrap-doc:Removes protein hits from the protein IDs in a 'cmap' that are not referenced by a peptide in the features or if requested in the unassigned peptide list
83
83
84
-
void updateProteinReferences(PeptideIdentificationList& peptides, libcpp_vector[ProteinIdentification]& proteins, bool remove_peptides_without_reference) except+ nogil # wrap-doc:Removes references to missing proteins. Only PeptideEvidence entries that reference protein hits in 'proteins' are kept in the peptide hits
0 commit comments