Skip to content

Commit

Permalink
Update utils.py
Browse files Browse the repository at this point in the history
  • Loading branch information
DaneseAnna committed Feb 11, 2020
1 parent 7544f42 commit c37343b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions episcanpy/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ def check_versions():
import anndata
# NOTE: pytest does not correctly retrieve anndata's version? why?
# use the following hack...
if anndata.__version__ != '0+unknown':
if anndata.__version__ < LooseVersion('0.6.10'):
raise ImportError('Scanpy {} needs anndata version >=0.6.10, not {}.\n'
'Run `pip install anndata -U --no-deps`.'
.format(__version__, anndata.__version__))
#if anndata.__version__ != '0+unknown':
# if anndata.__version__ < LooseVersion('0.6.10'):
# raise ImportError('Scanpy {} needs anndata version >=0.6.10, not {}.\n'
# 'Run `pip install anndata -U --no-deps`.'
# .format(__version__, anndata.__version__))



Expand Down

0 comments on commit c37343b

Please sign in to comment.