Replies: 1 comment 5 replies
-
Axnode is not part of NEURON per se, that syntax is indicating it's defined by a mod file, possibly this one. To run the code, you'll need to find the mod file and run |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I have some problems to run the previous code. The code is established by version 7.6.2. When using 8.2.0, it has some errors due to the different versions. It seems 'axnode' is not named in latest version. Could anyone tell me how to solve it?
Thanks.
The error is as follows.
Traceback (most recent call last):
File "main.py", line 16, in
neuron_fiber0 = Neuronfiber(v_init=-80, dt=0.005, tstop=10, rhoa=0.7e6, mycm=0.1, mygm=0.001, celsius=37, fiber_d=10, space_i=0.004, space_p1=0.002, space_p2=0.004, node_length=1.0, para_length1=3, axon_nodes=31)
File "D:\develop\Neuron-Activation\Mengping_new_package\Code\NeuronActivation\neuron_fiber2.py", line 59, in init
self.create_neuron()
File "D:\develop\Neuron-Activation\Mengping_new_package\Code\NeuronActivation\neuron_fiber2.py", line 418, in create_neuron
self.create_sec(node_type)
File "D:\develop\Neuron-Activation\Mengping_new_package\Code\NeuronActivation\neuron_fiber2.py", line 159, in create_sec
NODE.insert('axnode')
ValueError: argument not a density mechanism name.
Beta Was this translation helpful? Give feedback.
All reactions