Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hits sorting testbed #1018

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Hits sorting testbed #1018

wants to merge 5 commits into from

Conversation

bkieft-usa
Copy link
Collaborator

This branch moves the msms scoring method to spectralprocessing and introduces a few possible scoring techniques to identify the best feature match to the msms refs db. See the sort_msms_hits() function in spectralprocessing.py.

Currently the scoring method is set to 'score' so this commit will not change anything about the targeted analysis.

@bkieft-usa bkieft-usa self-assigned this Jan 30, 2025
@bkieft-usa bkieft-usa requested a review from tharwood3 January 30, 2025 20:00
Copy link
Collaborator

@tharwood3 tharwood3 left a comment

Choose a reason for hiding this comment

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

Looks good. My only suggestion would be to add a catch to the sort_msms_hits function in the case where an invalid sorting method is provided. This could be an assert at the beginning, or an else at the end that raises a clear error.

Not totally necessary, but could be useful for debugging down the line.

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