Closed alex-d13 closed 1 year ago
Hi Alex! My first guess would be that your ontology cache is outdated, could you check in your cache directory (ie most likely ~/.cache/sfaira/ontologies/hsapdv
) and delete the entries under hsapdv
? It ll automatically recache then. This ontology is hard to version unfortunately which causes this issue.
Hi, I tried that, but get the same error. It also did not recache the files in this directory, it remains empty. During which step is the recaching usually taking place?
This would happen upon first usage of the ontology, which is before the error above, is it potentially in the sfaira repo under ./.cache
?
I solved the error above: I created a new conda environment after deleting the mentioned ontology, that created the new version of this file. Unfortunately, I now have a new error:
Error in checkForRemoteErrors(lapply(cl, recvResult)) :
one node produced an error: ErrorDuringImport: problem in sfaira.data.dataloaders.loaders.dno_doi_10x_genomics.human_blood_2019_10xsequencing_10xgenomics_001 - ModuleNotFoundError: No module named 'tables'
Detailed traceback:
File "/home/.cache/R/basilisk/1.4.0/SimBu/0.99.0/sfaira_env_12/lib/python3.9/site-packages/sfaira/data/dataloaders/super_group.py", line 31, in __init__
DatasetSuperGroupLoaders(
File "/home/.cache/R/basilisk/1.4.0/SimBu/0.99.0/sfaira_env_12/lib/python3.9/site-packages/sfaira/data/dataloaders/loaders/super_group.py", line 39, in __init__
dsg = DatasetGroupDirectoryOriented(
File "/home/.cache/R/basilisk/1.4.0/SimBu/0.99.0/sfaira_env_12/lib/python3.9/site-packages/sfaira/data/dataloaders/base/dataset_group.py", line 740, in __init__
DatasetFound = pydoc.locate(loader_pydoc_path + collection_id + "." + file_module + ".Dataset")
File "/home/.cache
tables
to the requirements, for now try installing that package into your environment manually?Yep, thats what I tried and it just finished without any errors :) I used tables==3.7.0.
Thank your for the fast responses!
Describe the bug I am getting an error message when I try to create the data universe:
To Reproduce I am using sfaira in R via
reticulate
and a conda environment where only sfaira and its dependencies are installed. This is how I am calling sfaira in R (though this error message does not seem to be R related I feel like..):I had sfaira working previously with this setup when I was using the development version 0.3.9+4.gdd849d5 and wanted to upgrade to 0.3.12.
System [please complete the following information]:
Cheers, Alex