centre-for-microbiome-research / GroopM

Metagenomic binning suite
GNU General Public License v3.0
29 stars 18 forks source link

Work around bug in numpy array construction for large arrays #15

Closed timbalam closed 9 years ago

timbalam commented 9 years ago

The crash in #13 seems to be caused by certain numpy functions (e.g. numpy.array) when creating arrays from large standard python lists (with length > pow(2,31) - 1). With this fix, running the core command on the data from #13 no longer gives a negative dimensions errror, and runs for a while and returns a memory error instead. Progress!