Issues with Saving and Retrieving

Using the graphical user interface to build and exercise models. Includes customizing the GUI by writing a little bit of hoc.
Post Reply
Martenzi
Posts: 34
Joined: Thu Feb 28, 2013 4:17 am

Issues with Saving and Retrieving

Post by Martenzi » Mon Mar 11, 2013 9:42 pm

I followed the guidelines from the tutorial on how to save and retrieve sessions. I have only manage to auto-launch files from the ModelDB. I´m still learning how to compile mod files and which files to initiate properly. When I save the session that I auto-launched, I can´t locate the same file in the retrieving window?

ted
Site Admin
Posts: 5231
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Re: Issues with Saving and Retrieving

Post by ted » Tue Mar 12, 2013 10:16 am

Martenzi wrote:When I save the session that I auto-launched, I can´t locate the same file in the retrieving window?
Do you know the name of the directory to which you saved the session file? When you run NEURON, do you know the name of the current working directory? NEURON can't "see" a file that isn't in its current working directory.

NEURON Main Menu / File / working dir
brings up a tool that you can use to find out what is the current working directory, and change to a new directory if necessary. If you start NEURON by double clicking on a file name or an icon, the working directory is the directory that contains that file or icon. If you start NEURON by clicking on NEURON's own icon, the working directory depends on whether you are using OS X, MSWin, or Linux, but it almost certainly is not a directory that contains any of your own files--you'll have to use the "working dir" tool to change to the proper directory.

Martenzi
Posts: 34
Joined: Thu Feb 28, 2013 4:17 am

Re: Issues with Saving and Retrieving

Post by Martenzi » Thu Mar 14, 2013 1:03 am

Everything in the "notes" file helped out to solve the issue.

ted
Site Admin
Posts: 5231
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Re: Issues with Saving and Retrieving

Post by ted » Thu Mar 14, 2013 10:58 am

Martenzi wrote:Everything in the "notes" file helped out to solve the issue.
Excellent. Was there one thing that was most useful?

Martenzi
Posts: 34
Joined: Thu Feb 28, 2013 4:17 am

Re: Issues with Saving and Retrieving

Post by Martenzi » Sun Mar 31, 2013 8:14 pm

Yes. That you should type .hoc to the hoc files and that you use the accurate symbols.

ted
Site Admin
Posts: 5231
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Re: Issues with Saving and Retrieving

Post by ted » Sun Mar 31, 2013 9:09 pm

Martenzi wrote:Yes. That you should type .hoc to the hoc files and that you use the accurate symbols.
To make sure I understand, tell me if you mean that
one should specify the complete file name, including the extension
and
case (upper vs. lower) matters, e.g. foo.hoc is not the same as Foo.hoc

Post Reply