-
Notifications
You must be signed in to change notification settings - Fork 116
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
Different behaviours from loading an ascii morphology file in hoc and in python #2602
Comments
That is correct. When a top level object begins with
With that, one can use gdb to find the location of the floating point exception. e.g.
Frame 2 happens to be
There are only three calls to Vector.div in the import3d code
clearly div should raise an error if its arg is 0. That would give a python and hoc backtrace. |
Context
Issue 1
In Blue Brain, we read an ascii morphology file (
old_morph.asc
in Archive.zip) using a HOC scriptwhich returns the error
What does the error mean?
On the other hand, loading the same file in Python works without any issue.
Expected result/behavior
I would expect that Python also returns an error in this case. And is it possible to improve the error msg? It is hard for us to investigate our input morphology file.
Issue 2 or question
When running the above HOC and Python scripts to load a different version of the same morphology (
new_morph.asc
in Archive.zip), both loading are successful. The diff between the two versions of the morphology isIt seems that NEURON expects a contour for the ascii format. Can someone explain why?
NEURON setup
The text was updated successfully, but these errors were encountered: