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 some compiler warnings and test logic #33
Conversation
…precedence and it doesn't make much sense to do bit-wise comparisons of 1/0
I've added the missing |
… cryptic error message
Updated to add shebangs to the scripts. Otherwise you get lovely error messages like:
|
Hey thanks so much for this! I am absolutely rammed at work at the moment, but I'll hopefully get around to reviewing this this week and we can cut another release (if I can remember how, PyPi submission has changed a lot in the last few years!) |
Just had a look over - this looks like a no-brainer! That's again for doing this - maybe we should add something to the docs about installing via bioconda? |
Yeah, go ahead and document installing via conda. We've been doing that for most of our stuff and it's cut down on the "I get some cryptic error during the installation" emails. |
BTW, I've had someone internally report another issue in pyDNase. I'll have a look at it on Monday and see if it's some weird bug or just PEBKAC. |
This resolves some compiler warnings that I noticed while making a bioconda recipe for this package.
&
is used a few places in Wellington where&&
is quite likely meant instead. Note that&
has a higher precedence than>=
and other such comparison operators. So there were a few cases in the code where you were testing for things likeif(some_value > 0 > 0)
, which is unlikely to be what you meant.