loading a model into neutron

Post Reply
Chloe
Posts: 1
Joined: Tue Mar 19, 2024 8:56 pm

loading a model into neutron

Post by Chloe »

I have downloaded Neuron onto my Mac using XQuartz which works fine. I am trying to load the mosinit hoc file from this model: https://modeldb.science/3673

however every time I do it says this in the terminal:


/Applications/NEURON//bin/nrniv: spike is not a MECHANISM
in current.hoc near line 18
insert spike
^
xopen("current.hoc")
execute1("{xopen("cu...")
load_file("current.hoc")
xopen("mosinit.hoc")
and others
0
/Applications/NEURON//bin/nrniv: Object ID doesn't exist: Family[0]

in current.hoc near line 14
execute("frun()", Family[0])
^
xopen("mosinit.hoc")
NEURONMainMenu[0].execute1("{xopen("mo...")
NEURONMainMenu[0].load_file(0, "/Users/chl...")
NEURONMainMenu[0].load("*.hoc", 0)



Just wondering how to fix this issue?
Thank you
ted
Site Admin
Posts: 6300
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Re: loading a model into neutron

Post by ted »

An error message of the form

foo is not a MECHANISM

generally means that you need to compile the mod file that defines foo. Time to read mod files: what they are, and how to use them in the Hot tips area of the NEURON Forum (viewtopic.php?t=3263)
Post Reply