prody / DruGUI

Druggability Suite
http://prody.csb.pitt.edu/drugui/
Other
5 stars 8 forks source link

Bug fix related to a type error #3

Closed jamesmkrieger closed 6 years ago

jamesmkrieger commented 6 years ago

There is a difference between how booleans on numpy ints and regular ints are handled. Without setting count as a regular int, we get a numpy boolean, which can't be multiplied by marker. Following the change we get a regular boolean and are multiplying it by 1 or 0 to include it or not.

I accidentally have 2 commits for this because I initially said it was a fix for my computer only but then I wanted to change it to scrap that because Hongchun's computer needed the fix too and it made a new commit instead.

I also fixed a couple of typos in documentation strings or comments.