Auerilas / ecopy

Python tools for ecological data analyses
64 stars 27 forks source link

when running ecopy.transform() with method='normalize', numpy has no attribute nansqrt #29

Open luuuuuuuke opened 2 years ago

luuuuuuuke commented 2 years ago

When trying to transform matrices using the "normalize" method, I get the error:

AttributeError: module 'numpy' has no attribute 'nansqrt'

I know that numpy does have a 'sqrt' attribute, so should transform.py be edited to say 'sqrt' instead of 'nansqrt'?

Thx!