[MSNoise] Error in distance.py

VICIC BLAZ [PHD0900016] BLAZ.VICIC at phd.units.it
Tue Dec 20 07:40:02 UTC 2016


Actually I had to change this in all the scripts.

________________________________
From: msnoise-bounces at mailman-as.oma.be <msnoise-bounces at mailman-as.oma.be> on behalf of VICIC BLAZ [PHD0900016] <BLAZ.VICIC at phd.units.it>
Sent: Tuesday, December 20, 2016 8:32:19 AM
To: msnoise at mailman-as.oma.be
Subject: [MSNoise] Error in distance.py

Dear all..


I am trying to start with msnoise (this time for real). I am following the workflow on the website with the test dataset. when i run "msnoise -c plot distance" from the folder with the test data, i got an error:


File "/home/blaz/msnoise/test_run/distance.py", line 18, in <module>
    from scipy.stats.stats import nanmean
ImportError: cannot import name 'nanmean'


I changed the line

from scipy.stats.stats import nanmean


to

from scipy import stats


and now it works.


Any comment on that? Will this brake something for me in future runs or was scipy updated and changed?


Thanks,

Blaz
_______________________________________________
MSNoise mailing list
MSNoise at mailman-as.oma.be
http://mailman-as.oma.be/mailman/listinfo/msnoise


More information about the MSNoise mailing list