Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Episcanpy is incompatible with anndata 0.7.1 #51

Closed
le-ander opened this issue Jan 27, 2020 · 1 comment
Closed

Episcanpy is incompatible with anndata 0.7.1 #51

le-ander opened this issue Jan 27, 2020 · 1 comment

Comments

@le-ander
Copy link
Contributor

le-ander commented Jan 27, 2020

Hi Anna,

I just stumbled over another problem with episcanpy. With the latest anndata version installed (0.7.1), I cannot import episcanpy 0.1.8 anymore.

I get the following error:

Python 3.7.5 (default, Dec 22 2019, 13:37:12)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import episcanpy
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/leander.dony/.local/lib/python3.7/site-packages/episcanpy/__init__.py", line 18, in <module>
    check_versions()
  File "/home/leander.dony/.local/lib/python3.7/site-packages/episcanpy/utils.py", line 34, in check_versions
    if anndata.__version__ < LooseVersion('0.6.10'):
  File "/app/python37/lib/python3.7/distutils/version.py", line 64, in __gt__
    c = self._cmp(other)
  File "/app/python37/lib/python3.7/distutils/version.py", line 335, in _cmp
    if self.version == other.version:
AttributeError: 'Version' object has no attribute 'version'

This does not occur with anndata 0.6.22.post1

Would be great if episcanpy would soon be compatible with anndata again :)

@le-ander
Copy link
Contributor Author

This has been fixed in c37343b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant