[Newbie] Cannot load saved session files

Using the graphical user interface to build and exercise models. Includes customizing the GUI by writing a little bit of hoc or Python
Post Reply
ps0322

[Newbie] Cannot load saved session files

Post by ps0322 »

Hello, I'm completely Newbie and the only person in the lab that using Neuron.
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
} 
When download Onecell.ses, this error happen

Image


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.
ted
Site Admin
Posts: 6287
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Re: [Newbie] Cannot load saved session files

Post by ted »

ps0322 wrote: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
Exactly how did you "save session"?
Did you use
NEURON Main Menu / File / save session
or what?
What graphical windows were open when you did this?

I ask because the ses file you posted is quite incomplete--there's nothing that would recreate an artificial spiking cell, or a biophysical model cell with a synapse attached to it, or any of the Network Builder GUI tools (there is nothing that will create an ArtCellGUI tool, or a NetReadyCellGUI tool, or a NetGUI tool). Instead, it looks like you tried to save only the NetReadyCellGUI tool's CellBuilder, but even that is incomplete.
When download Onecell.ses, this error happen
Download? Now I'm completely confused. Using NEURON and the Network Builder has nothing to do with downloading files. Do you mean "when I restarted NEURON, then tried loading Onecell.ses"?
I'm using NEURON 7.3 on Windows 7 .64bit
Maybe you have run into a bug in the 64 bit version for MS Windows. I haven't had any problems like this with the 32 bit version under 64 bit Windows 7; I suggest that you uninstall the 64 bit NEURON and instead try the 32 bit version.
ps0322

Re: [Newbie] Cannot load saved session files

Post by ps0322 »

Exactly how did you "save session"?
Yes, I use NEURON Main Menu / File / save session
The graphical windows that were on upon saving are ArtCellGUI CellBuild NetGUI NetReadyCellGUI SynTypeGUI and plotting tools
Download? Now I'm completely confused. Using NEURON and the Network Builder has nothing to do with downloading files. Do you mean "when I restarted NEURON, then tried loading Onecell.ses"?
I'm so sorry to make you confused, yes I just meant I restarted and loading Onecell.ses
Maybe you have run into a bug in the 64 bit version for MS Windows. I haven't had any problems like this with the 32 bit version under 64 bit Windows 7; I suggest that you uninstall the 64 bit NEURON and instead try the 32 bit version.
Thank you so much. I'm going to install the 32 bit version and see how it work.
ps0322

Re: [Newbie] Cannot load saved session files

Post by ps0322 »

The problem is solved with NEURON 32 bit version. Thank you!
ted
Site Admin
Posts: 6287
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Re: [Newbie] Cannot load saved session files

Post by ted »

Good. Sorry there seem to be bugs in the 64 bit version that you tried.
Post Reply