Closed oliche closed 2 years ago
This is most likely a file corruption when downlading the atlas files.
This code will give the location of the cached atlas files, please delete everything that is in the directory (especially ,nrrd
files)
from pathlib import Path
import one.params
par = one.params.get(silent=True)
FLAT_IRON_ATLAS_REL_PATH = Path('histology', 'ATLAS', 'Needles', 'Allen')
path_atlas = Path(par.CACHE_DIR).joinpath(FLAT_IRON_ATLAS_REL_PATH)
print(path_atlas)
Once this is done, try instantiating again:
from ibllib.atlas import AllenAtlas
ba = AllenAtlas()
Please attach any error that may be occuring in the snippets above (it may be due to a misconfiguration as well)
Yes, it worked, thanks a lot!
On Windows