cannot import sfaira
See original GitHub issuecurrently, import ing the sfaira package is broken (both on dev and anotation_csv):
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
<ipython-input-1-67a34ea818d4> in <module>
7 import zipfile
8 import scipy.io
----> 9 import sfaira #from sfaira.data.interactive import DatasetInteractive
10 import scarches as sca
11
/storage/groups/ml01/code/leander.dony/sfaira/sfaira/__init__.py in <module>
6 # import sfaira.models
7 import sfaira.genomes
----> 8 import sfaira.data
9 import sfaira.consts as consts
10 import sfaira.versions
/storage/groups/ml01/code/leander.dony/sfaira/sfaira/data/__init__.py in <module>
----> 1 from .base import DatasetBase, DatasetBaseGroupLoadingOneFile, DatasetBaseGroupLoadingManyFiles, \
2 DatasetGroup, DatasetGroupDirectoryOriented, \
3 DatasetSuperGroup
4 from . import dataloaders
5 from .dataloaders import DatasetSuperGroupSfaira
/storage/groups/ml01/code/leander.dony/sfaira/sfaira/data/base.py in <module>
2104
2105
-> 2106 class DatasetSuperGroup:
2107 """
2108 Container for multiple DatasetGroup instances.
/storage/groups/ml01/code/leander.dony/sfaira/sfaira/data/base.py in DatasetSuperGroup()
2113 adata: Union[None, anndata.AnnData]
2114 fn_backed: Union[None, PathLike]
-> 2115 dataset_groups: Union[List[DatasetGroup], List[DatasetSuperGroup]]
2116
2117 def __init__(self, dataset_groups: Union[None, List[DatasetGroup], List[DatasetSuperGroup]]):
NameError: name 'DatasetSuperGroup' is not defined
Can DatasetSuperGroup really take other DatasetSuperGroup as dataset_groups input?
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
Errors during installation · Issue #377 · theislab/sfaira - GitHub
Describe the bug Errors during installation caused by unresolvable requirement conflicts. To Reproduce I created a new, separate conda ...
Read more >sfaira Documentation
import sfaira. Data: data. Data loaders. The sfaira data zoo API. Dataset representing classes used for development:.
Read more >What can I do about "ImportError: Cannot import name X" or ...
You have circular dependent imports. physics.py is imported from entity before class Ent ... You will get Import Error: ImportError: cannot import name...
Read more >Terms and Conditions - Sfera Labs
Orders shipped outside the European Union can be subject to custom controls for duties and VAT for import. Sfera Labs Srl cannot be...
Read more >(PDF) scvi-tools: a library for deep probabilistic analysis of ...
We demonstrate this through a code-efficient reimplementation of Stereoscope for deconvolution of spatial transcriptomics profiles. By catering ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Funfact: Our CI currently tests against 3.7 and 3.8 only anyways. They are by far the most used versions.
okay, I guess I’ll have to somehow upgrade my gpu container…strange that tensorflow publishes their official tf containers with such an old python version