Hi
i have a problem that are not opening saved session files
main /save session click then i wirte a filename, for example it is "ok.ses"
later i want to open files but it isn't opening
everybady thanks
session file open failure
i use to save method that is "main/file /save session" but
later when i tired to open "session file ", it shows folowing message
nrniv: undefined variable soma in hucre.ses near line 14
}
^
xopen("hucre.ses" )
NEURONMainMenu[0].execute1("{xopen("hucre.ses")}" )
NEURONMainMenu[0].load_file(1"./hucre.ses" , )
NEURONMainMenu[0].load("*.ses"1 , )
also as result i can't my session files
best regard
later when i tired to open "session file ", it shows folowing message
nrniv: undefined variable soma in hucre.ses near line 14
}
^
xopen("hucre.ses" )
NEURONMainMenu[0].execute1("{xopen("hucre.ses")}" )
NEURONMainMenu[0].load_file(1"./hucre.ses" , )
NEURONMainMenu[0].load("*.ses"1 , )
also as result i can't my session files
best regard
It is likely that the windows you saved were not responsible for creating the soma. You might have created it from the command line or you loaded a hoc-file in which it was created.
To be able to benefit from the session file you will either have to rerun the hoc-file from which you started and then load the session file using the menu or add the line load_file("hucre.ses") to the end of your hoc-file and then load the hoc-file.
If you created the soma from the command line I am afraid you will have to redo the work you did there.
In addition you can see whether your session file is sound by opening it in a text editor and inspect it. You can learn from it what is saved in a session files and what is not. In general model information is not saved there, unless you were creating the model from the GUI (Cellbuilder/Networkbuilder/Channelbuilder etc.).
To be able to benefit from the session file you will either have to rerun the hoc-file from which you started and then load the session file using the menu or add the line load_file("hucre.ses") to the end of your hoc-file and then load the hoc-file.
If you created the soma from the command line I am afraid you will have to redo the work you did there.
In addition you can see whether your session file is sound by opening it in a text editor and inspect it. You can learn from it what is saved in a session files and what is not. In general model information is not saved there, unless you were creating the model from the GUI (Cellbuilder/Networkbuilder/Channelbuilder etc.).
-
- Site Admin
- Posts: 6394
- Joined: Wed May 18, 2005 4:50 pm
- Location: Yale University School of Medicine
- Contact:
okanerkaymaz wrote:nrniv: undefined variable soma in hucre.ses near line 14
}
^
xopen("hucre.ses" )
If you are working with the CellBuilder, and not using the Network Builder, then the
problem may just be that the CellBuilder's "Continuous Create" was not on. Open up
just the CellBuilder's session file, and if you do not see a red check mark on the
Continuous Create button, click on that button so that the check mark appears. Then
save the CellBuilder to a session file and exit NEURON. After that, you should be able to
open your files without getting an "undefined variable soma" message.