jbloomlab / phydms

phylogenetic analyses informed by deep mutational scanning data
GNU General Public License v3.0
14 stars 4 forks source link

change `scipy.XXX` to `numpy.XXX` for `scipy 2.0.0` deprecation warning #29

Closed skhilton closed 4 years ago

skhilton commented 4 years ago

According to https://github.com/scipy/scipy/releases

Support for NumPy functions exposed via the root SciPy namespace is deprecated and will be removed in 2.0.0. For example, if you use scipy.rand or scipy.diag, you should change your code to directly use numpy.random.default_rng or numpy.diag, respectively. They remain available in the currently continuing Scipy 1.x release series.