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
alpha simulation fails (NEURON?) #101
Comments
@cjayb thanks for giving this a try! Interesting, it seems that the example is broken for me as well. So, to proceed I would actually try using |
I made some progress, but hitting a wall & in need of some help! I was able to produce similar L-shaped dipole plots for the gamma-example by setting @jasmainak did you reproduce on Neuron 7.8.0? I tried to trace back to the earliest commits of I've tried to compare the logic in Also: WTF? At least it explains the kink in the plots at 37 ms :) |
@cjayb don't go back too far in the commits either. Because it might have been broken during the refactor. This commit for instance works fine for me. Does it work for you? I'm on Neuron 7.7.2, yes I know shame on me ... I should update :) I don't think it's an nrnpython problem but more a bug in hnn-core since the code paths of hnn and hnn-core have diverged even though they started from the same parent.
you're not the only one ;-)
This is just exposing the fact that there aren't enough tests in either hnn or hnn_core. Otherwise things won't break so easily. I would really try to find the rogue commit. If you do git bisect, it will keep proposing you commits. In each commit, you can run the example and see if you get the right output. Once you identify the rogue commit, the job becomes really easy.
agreed, wtf indeed! I'm not aware of the historical reasons why this exists. Let's maybe raise a different issue for this and start a discussion? at the very least, the params need to be exposed in the function |
Well, FYI: I don't recommend updating! I spent hours fiddling with compilations of |
FWIW, neuron will soon come to pip so I'm hoping this will become smoother in the future |
Walkthroughs in
examples
forevoked
andgamma
work fine, butalpha
fails mysteriously. I've set'tstop': 110.0
for speed, but below is equally valid for the default710.0
.In the hopes of finding a bug in
params
, I even tried this (3 keys differ, not that they seemed important):But I get the same plots. The same example works fine in
hnn
, in the sameconda
env., where NEURON is from PyPi (7.8.0-127-g91f6e623+
).I guess what I'm asking is: any pointers on where to start debugging my setup? I suppose it's likely my NEURON installation, though I've been through the tests for
nrnpython
, which run quite happily in a parallel context (openmpi
,mpi4py
) on my dual-core macOS Catalina laptop.The text was updated successfully, but these errors were encountered: