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

Merged
merged 2 commits into from
Nov 10, 2024
Merged

Conversation

misialq
Copy link
Contributor

@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.

@alexeigurevich alexeigurevich merged commit 913291f into ablab:master Nov 10, 2024
@alexeigurevich
Copy link
Contributor

Many thanks! Tested and merged.

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
2 participants