Closed khdcrawford closed 3 years ago
That sounds great, and thanks for finding problem! Also add to CHANGELOG
and increment version number at the last digit in __init__.py
.
For future information, it looks like Python interprets scientific notation as floats (and I dropped a 0 in my original post), so the default was actually set as 1e5
. I've changed it to 100000
and have incremented the CHANGELOG
and __init__.py
. This is fixed in PR #62
The default value for
maxpoints
in thebarcodes.rarefyBarcodes
function is the float10000.0
. However, the dtype is specified asint
and this dtype incompatibility makes the function break if there are more than 10000 barcodes.I think this can be fixed just by changing the default
maxpoints
value to the int10000
. I can do this and submit a PR if that'd be best?