AdmiralenOla / Scoary

Pan-genome wide association studies
GNU General Public License v3.0
148 stars 35 forks source link

Problem adding long and float64 #43

Closed AdmiralenOla closed 7 years ago

AdmiralenOla commented 7 years ago

There is a strange bug where Scoary will sometimes crash with the following message:

TypeError: unsupported operand type(s) for +: 'long' and 'numpy.float64'

I don't know why only some systems are seeing this error. In fact, addition of long and numpy.float64 does not throw a TypeError on my 1.11.1 or 1.11.2 versions, but it does on some other systems.

AdmiralenOla commented 7 years ago

I've identified the problem, and now convert numpy.float64 values to float explicitly. These changes will be in version 1.6.8.

AdmiralenOla commented 7 years ago

Fixed in 1.6.8