Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with ECP calculation when using Neuron 7.8.2 #164

Closed
atleer opened this issue Mar 21, 2021 · 1 comment
Closed

Problem with ECP calculation when using Neuron 7.8.2 #164

atleer opened this issue Mar 21, 2021 · 1 comment

Comments

@atleer
Copy link

atleer commented Mar 21, 2021

Hi,

There seems to be an issue with the calculation of the ECP when using the latest version of Neuron (7.8.2). Running, for example, the bio_450cells_exact example provided with BMTK I get the following warning:

/Users/atleeskelandrimehaug/sources/bmtk_test_py3_6/bmtk/bmtk/simulator/bionet/modules/ecp.py:283: RuntimeWarning: invalid value encountered in true_divide
rll = abs(rlldl / dlmag) # component of r parallel to the segment axis it must be always positive

And in the ecp.h5 output file all values are NaN.

There are no problems with earlier versions of Neuron (I haven't testet all, of course, but 7.8.0 f. ex. works fine), so I'm merely posting this to bring it to your attention.

@kaeldai
Copy link
Collaborator

kaeldai commented Apr 7, 2021

It looks like there was an issue with newer versions of neuron morphology api needing to make some of the parameters more explicit. It should be fixed and I am seeing the same results for neuron 7.8.2 as well as older versions (also compared 7.5 and 7.6).

@kaeldai kaeldai closed this as completed Jan 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants