I am working throug the on-line course material: Using ModelDB, the second example, the paper by Mainen and Sejinowski, 1995. I compiled the mod file in the patdemo folder and tried to run the mosinit.hoc. It generated an error message :
syntax error
in demofig1.hoc near line 197
forall insert na
^
I located this line in the demofig1.hoc, but not sure what the "insert na" was supposed to be.
Please do you have any idea what the orignal authors intended the "insert na" to be?
Thank you
Irene
Course: Using ModelDB Mainen and Sejnowski 1996
Re: Course: Using ModelDB Mainen and Sejnowski 1996
The Mainen and Sejinowski, 1996 model has an Na (sodium channel) mechanism, as you can see from looking at the files in that modeldb entry (there is a file called "na.mod"). So that line is for inserting the sodium channel mechanism defined in "na.mod" into all the sections.
-
- Site Admin
- Posts: 6289
- Joined: Wed May 18, 2005 4:50 pm
- Location: Yale University School of Medicine
- Contact:
Re: Course: Using ModelDB Mainen and Sejnowski 1996
That's Mainen & Sejnowski 1996.nianwosuh wrote:I am working throug the on-line course material: Using ModelDB, the second example, the paper by Mainen and Sejinowski, 1995.
When NEURON first starts, it prints out a few lines that tell its version number, and then it prints out the names of any mod files whose compiled mechanisms it has loaded.I compiled the mod file in the patdemo folder and tried to run the mosinit.hoc. It generated an error message
NEURON should report the following, for this particular model:
Code: Select all
Additional mechanisms from files
cad.mod ca.mod kca.mod km.mod kv.mod na.mod
Re: Course: Using ModelDB Mainen and Sejnowski 1996
When I run the mosint.hoc, this is the additional mechanisms it has: Additional mechanisms from files
ca.mod cad.mod kca.mod km.mod kv.mod na.mod.
Thank you
Irene
ca.mod cad.mod kca.mod km.mod kv.mod na.mod.
Thank you
Irene
-
- Site Admin
- Posts: 6289
- Joined: Wed May 18, 2005 4:50 pm
- Location: Yale University School of Medicine
- Contact:
Re: Course: Using ModelDB Mainen and Sejnowski 1996
Then the mod files compiled successfully, and NEURON is loading the mechanisms when it starts up. So the Mainen & Sejnowski model should not have any problems. Were you writing some code of your own?nianwosuh wrote:When I run the mosint.hoc, this is the additional mechanisms it has: Additional mechanisms from files
ca.mod cad.mod kca.mod km.mod kv.mod na.mod.
Re: Course: Using ModelDB Mainen and Sejnowski 1996
I did not write any code. I simply followed every instruction.
I have recompiled the mod and restarted NEURON and there was no problem.
Thank you
I have recompiled the mod and restarted NEURON and there was no problem.
Thank you
-
- Site Admin
- Posts: 6289
- Joined: Wed May 18, 2005 4:50 pm
- Location: Yale University School of Medicine
- Contact:
Re: Course: Using ModelDB Mainen and Sejnowski 1996
Well, sounds like the first compilation didn't work properly for some reason or other.