xopen directory path

Anything that doesn't fit elsewhere.
Post Reply
rllin

xopen directory path

Post by rllin » Wed Jun 20, 2012 4:16 pm

I'm trying to reproduce Poirazi model experiments.

I chmod +x run files and run them with nrngui run.

I run into a complaint regarding all instances of

Code: Select all

xopen("../../path/directory/file.hoc")
NEURON seems to complain about the use of ../../? Any idea what the issue may be?

rllin

Re: xopen directory path

Post by rllin » Wed Jun 20, 2012 4:36 pm

Fixed. In all cases, I had not compiled my .mod files.

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

Re: xopen directory path

Post by ted » Thu Jun 21, 2012 6:01 am

A common error.

By the way, I realize that the source code for the model you're studying has a very intricate directory structure, but for anyone else who reads this, it's generally best to try to avoid such complexity--makes code maintenance and debugging more difficult. Besides, biology is complex enough itself.

rllin

Re: xopen directory path

Post by rllin » Thu Jun 21, 2012 11:55 am

Ah, do you have a model you've seen is very well organized?

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

Re: xopen directory path

Post by ted » Mon Jun 25, 2012 12:34 pm

For starters, you might look at any in ModelDB that I have written.

Post Reply