Closed Visdoom closed 6 years ago
When loading the example data m = morphopy.Morph(data='data/Image001-005_01_CNenhance_latest_LXS.swc')
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).
INFO:root: Please enter a valid logging mode (DEBUG, INFO, WARNING, ERROR, CRITICAL).
The same message comes also when the loglevel is set explicitly.
I realised it is because there is no concrete Error passed that should be except in get_logger() in _utils.py.
get_logger()
_utils.py
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.