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

fix bug in ism_predict on multiple sequences #89

Merged
merged 2 commits into from
Jan 31, 2025
Merged

fix bug in ism_predict on multiple sequences #89

merged 2 commits into from
Jan 31, 2025

Conversation

avantikalal
Copy link
Collaborator

@avantikalal avantikalal commented Jan 17, 2025

Addresses #88

ISM_predict did not work for multiple sequences due to the line:

ref_pred = preds[:, [0], [ref_bases], :]

When there are more than 1 sequences, the length of ref_bases will be > 1 leading to multiple values being selected from each row in ref_pred, instead of only 1 value from each row.

This line is now corrected and a new test is added for ISM_predict with 2 sequences.

@avantikalal avantikalal requested a review from suragnair January 17, 2025 20:55
@avantikalal avantikalal merged commit ab65884 into main Jan 31, 2025
2 checks passed
@avantikalal avantikalal deleted the fix-ism branch January 31, 2025 01:33
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