Skip to content

Fix MS2Rescore compatibility (calibration data typing)#15

Merged
rodvrees merged 1 commit intomainfrom
fix-ms2rescore-compatibility
Dec 11, 2025
Merged

Fix MS2Rescore compatibility (calibration data typing)#15
rodvrees merged 1 commit intomainfrom
fix-ms2rescore-compatibility

Conversation

@rodvrees
Copy link
Member

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes MS2Rescore compatibility by allowing the psm_list_cal parameter to accept both PSMList objects and pandas DataFrames for calibration data, addressing typing issues that prevented proper integration with MS2Rescore workflows.

Key Changes:

  • Added support for DataFrame input to the psm_list_cal parameter alongside existing PSMList support
  • Refactored CCS value extraction logic to handle both input types efficiently
  • Updated documentation to clarify requirements for each input type

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
im2deep/im2deep.py Updated predict_ccs function signature and implementation to accept both PSMList and DataFrame for calibration data, with proper type checking and value extraction for each input type
im2deep/init.py Bumped version from 1.1.0 to 1.1.1 to reflect the compatibility fix

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@rodvrees rodvrees merged commit d82de26 into main Dec 11, 2025
6 checks passed
@rodvrees rodvrees deleted the fix-ms2rescore-compatibility branch December 11, 2025 15:03
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.

1 participant