I made a really simple network consisting one artificial cell as input source to another cell which was built by network cell builder. The cell from cell builder name as ‘cell’ with E & I synapses, isotropic soma.
And then I save session to Onecell.ses
Code: Select all
{load_file("nrngui.hoc")}
objectvar save_window_, rvp_
objectvar scene_vector_[7]
objectvar ocbox_, ocbox_list_, scene_, scene_list_
{ocbox_list_ = new List() scene_list_ = new List()}
{pwman_place(0,0,0)}
//Begin CellBuild[0]
{
load_file("celbild.hoc", "CellBuild")
}
{ocbox_ = new CellBuild(1)}
{object_push(ocbox_)}
{
version(5.7)
continuous = 0
}
{object_push(topol)}
{
first = 0
slist.remove_all()
sname = "dend"
objref tobj
}
{
tobj = new CellBuildSection("soma",0, 0, tobj, 0) slist.append(tobj)
tobj.position(0,0,15,0) tobj.lx=6.47772 tobj.ly=-22.5641 tobj.i3d=0
all_init()
}
for i=0, slist.count-1 {slist.object(i).rdses()}
{object_pop()}
{
}
{object_push(subsets)}
{first = 0}
{ tobj = snlist.object(0)}
{consist()}
{object_pop()}
{
}
{object_push(geom)}
{
first = 0
tobj = new GeoSpec(2)
tobj.value = 10
bild.subsets.snlist.object(0).geo.append(tobj)
tobj = new GeoSpec(3)
tobj.value = 10
bild.subsets.snlist.object(0).geo.append(tobj)
tobj = new GeoSpec(7)
tobj.value = 0.1
bild.subsets.snlist.object(0).geo.append(tobj)
set_default()
}
{object_pop()}
{
}
{object_push(memb)}
{first=0}
{
tobj = new MechanismStandard("hh")
tobj.set("gnabar_hh", 0.12, 0)
tobj.set("gkbar_hh", 0.036, 0)
tobj.set("gl_hh", 5e-005, 0)
tobj.set("el_hh", -70, 0)
tobj = new MStanWrap(tobj, 1)
bild.subsets.snlist.object(0).ml.append(tobj)
}
{object_pop()}
{
}
{object_push(manage)}
{
first = 0
classname = "Cell"
etop=1 esub=1 egeom=1 emem=1
itop=1 isub=0 igeom=0 imem=0
bild.topol.names_off = 0
bild.topol.circles_off = 0
output_index = 0 output_x = 1
thresh = 10
}
{object_pop()}
{
cexport()
}
{object_pop()}
{
save_window_=ocbox_.gtopol
}

Therefore I look it up and add ‘}’ at the end of that file (line 89) with Jeditor
Then I load the session again. No error found -> Is that mean everything is downloaded? I expected all windows in the session I made would come out. But nothing happen.
I also try save each window separately in different session names (I made .ses file for each of these windows; onecell_ArtCellGUI , onecell_CellBuild, onecell_NetGUI, onecell_NetReadyCellGUI, onecell_SynTypeGUI )
I got errors, 'syntex error' and therefore 'a template cannot be redefined'.
Some windows did come out but the program said 'cell' cannot be find and all connections are lost.
Note that I didn't made any file by myself but use the nrngui
I'm using NEURON 7.3 on Windows 7 .64bit
Please help! I'd really appreciate it.