Open NicoKiaru opened 8 months ago
It's because of the channels taht are lists...
Another error in notebook 2:
ModuleNotFoundError Traceback (most recent call last) Cell In[5], line 6 1 # -- FOR DEBUGGING 2 # import imagej.doctor 3 # imagej.doctor.checkup() 4 # imagej.doctor.debug_to_stderr() ----> 6 aligner = Abba('azba_zfish_4um') # Simply put the name of the BrainGlobe atlas 7 aligner.show_bdv_ui() # creates and show a bdv view 9 # !! Warning : it takes time... first : downloading the atlas if not present 10 # it can take up to a minute...
File ~\AppData\Local\abba-python-0.8.0\lib\site-packages\abba_python\abba.py:181, in Abba.init(self, atlas_name, ij, slicing_mode, headless, print_config) 179 bg_atlas = BrainGlobeAtlas(atlas_name) 180 # initialized --> 181 from abba_private import abba_atlas 182 atlas = abba_atlas.AbbaAtlas(bg_atlas, ij) 183 atlas.initialize(None, None)
ModuleNotFoundError: No module named 'abba_private'
Notebook 4: mettre a jour la commande deepslice
Another error in notebook 2:
ModuleNotFoundError Traceback (most recent call last) Cell In[5], line 6 1 # -- FOR DEBUGGING 2 # import imagej.doctor 3 # imagej.doctor.checkup() 4 # imagej.doctor.debug_to_stderr() ----> 6 aligner = Abba('azba_zfish_4um') # Simply put the name of the BrainGlobe atlas 7 aligner.show_bdv_ui() # creates and show a bdv view 9 # !! Warning : it takes time... first : downloading the atlas if not present 10 # it can take up to a minute...
Hey @NicoKiaru, indeed we can't load Brainglobe atlases anymore, with the error you posted : ModuleNotFoundError: No module named 'abba_private'
.
I'm not familiar with Python packages/modules etc. so I don't know why it is not found while the abba_python
folder is next to the abba.py
module.
But changing this line : https://github.com/BIOP/abba_python/blob/be17a502f4174efcf4622c1418d3d2dacd1aac8b/src/abba_python/abba.py#L181
to
from abba_python.abba_private import abba_atlas
works.
Thanks!
I'm not familiar with Python packages/modules etc. s
Yeah, me neither 😓 . I'm struggling to get an identical code to work both:
Honestly that's a mess.
I get this error in the first example notebook: