berenslab / MorphoPy

GNU General Public License v3.0
34 stars 11 forks source link

Warning: Enter logging mode #86

Closed Visdoom closed 6 years ago

Visdoom commented 6 years ago

When loading the example data m = morphopy.Morph(data='data/Image001-005_01_CNenhance_latest_LXS.swc')

one gets the warning INFO:root: Please enter a valid logging mode (DEBUG, INFO, WARNING, ERROR, CRITICAL).

The same message comes also when the loglevel is set explicitly.

Visdoom commented 6 years ago

I realised it is because there is no concrete Error passed that should be except in get_logger() in _utils.py.