We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
>>> gfasta = pyfaidx.Fasta('....fa', as_raw=True) >>> gfasta['chr1'][0:0]
Returns the whole chromosome
>>> s='ABCD' >>> s[0:0]
Returns an empty string
IMHO, pyfaidx should return an empty string.
The text was updated successfully, but these errors were encountered:
I wholeheartedly agree, and will make this the expected behavior in the next release.
Sorry, something went wrong.
Test explicitly for NoneType, and avoid the "truthiness" of 0. Fixes #53
50af7ac
.
Push fix for #53 in master.
0e98b24
It looks like this is now fixed and will be included the next time I push a release. Thanks!
mdshw5
No branches or pull requests
Returns the whole chromosome
Returns an empty string
IMHO, pyfaidx should return an empty string.
The text was updated successfully, but these errors were encountered: