BlueBrain / morphoclass

Neuronal morphology preparation and classification using Machine Learning.
https://morphoclass.readthedocs.io
Apache License 2.0
8 stars 4 forks source link

`tmd==2.2.0` changed slightly the API #86

Open EmilieDel opened 1 year ago

EmilieDel commented 1 year ago

TYPE_DCT is a dictionary created by tmd package and the key values changed in the new version 2.2.0

 from morphoclass.utils import print_warning                                                                                                                                                            
  File "/gpfs/bbp.cscs.ch/project/proj148/home/dictus/play_with_morphology/morphoclass/venv/lib/pyth                                                                                                       
on3.8/site-packages/morphoclass/utils.py", line 53, in <module>                                                                                                                                            
    SectionType.basal_dendrite: TYPE_DCT["basal"],                                                                                                                                                         
KeyError: 'basal'