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 slicing with annotation on minus strand #577

Merged
merged 3 commits into from
May 31, 2024

Conversation

trichter
Copy link
Contributor

Hi! This is an awesome project! Very nice work.

I stumbled upon a small bug. The sorted_locs variable is not used in annotation.py. The effect is that, when slicing with a feature with at least two locations on the minus strand, we get the wrong sequence.

I added a test to demonstrate the problem and fixed it.

Copy link
Member

@padix-key padix-key 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 to me, thanks for the fix!

@padix-key padix-key merged commit 67349fa into biotite-dev:master May 31, 2024
20 checks passed
@trichter trichter deleted the annotation_minus_strand branch May 31, 2024 13:10
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