BlueBrain / BlueCelluLab

Biologically detailed neural network simulations and analysis API
https://bluecellulab.readthedocs.io/en/latest/
Other
8 stars 12 forks source link

Warning needed on serialised sections? #176

Closed arnaudon closed 2 months ago

arnaudon commented 2 months ago

This warning

BlueCelluLab/bluecellulab/cell/serialized_sections.py:40: UserWarning: [Warning] SerializedSections: v(0.0001) < 0. index=1 v()=-65.0

is a pain when we use non-bbp mod files, is it really necessary to have it always printed, not in debug mode or so?

anilbey commented 2 months ago

Thanks, this is a very useful feedback - using bluecellulab with non-bbp mod files. Sounds good it can be printed in debug mode and can be set to be ignored. Do you want to make the PR or shall I do that?

arnaudon commented 2 months ago

do as you want!

anilbey commented 2 months ago

The change is merged.