WrightonLabCSU / DRAM

Distilled and Refined Annotation of Metabolism: A tool for the annotation and curation of function for microbial and viral genomes
GNU General Public License v3.0
249 stars 52 forks source link

Update environment.yaml #204

Closed danesnick closed 2 years ago

danesnick commented 2 years ago

Scipy 1.9.1 was recently released on conda-forge: https://anaconda.org/conda-forge/scipy/files which causes creating a new environment in conda to use Scipy 1.9.1, which satisfies the original condition of scipy!=1.9.0. With Scipy 1.9.1, this error can occur:

ImportError: cannot import name 'PearsonRConstantInputWarning' from 'scipy.stats' (/projects/dram/anaconda3/envs/DRAM/lib/python3.10/sitepackages/scipy/stats/init.py)

Setting the version to be below (or equal to) scipy 1.8.1 should fix the issue!

rmFlynn commented 2 years ago

I was just about to do this, and you beat me to it! Thanks! Sorry about that, I was told that a fix would come in 1.9.1 but no such luck.

danesnick commented 2 years ago

I was supporting a user that ran into this issue so I figured I'd do a PR. Thanks for responding quickly!