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: change read mode in is_valid_bed #244

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

misialq
Copy link

@misialq misialq commented Apr 27, 2023

Closes #230.

The error described in #230 is caused by opening the bed file in the r mode, which does not allow for seeking from the end of the file. This PR changes the mode to rb and adjusts the other two required lines to make that possible.

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.

is_valid_bed tries to check all lines, not the last 10 lines, and checking failed because of the header line
1 participant