For my Windows paths I used to convert them to use the Cygwin path notation of /cygdrive/c/etc.
This worked in NEURON 7.2 ...
Now in 7.7 I tried using chdir() with Cygwin style pathing and the call fails. Now it seems paths are best represented with forward slashes => C:/Users/etc. This appears to be due to switching from Cygwin to MSYS/mingw.
To make generic code, I wanted to switch on the neuron version => nrnversion(0)
My main question is, when did this switch to MSYS occur? Neuron 7.4?
Also, are there any other file path changes to be aware of (or nuances that I'm missing)?
cygwin vs msys file path changes, Windows NEURON version
-
- Site Admin
- Posts: 6384
- Joined: Wed May 18, 2005 4:50 pm
- Location: Yale University School of Medicine
- Contact:
Re: cygwin vs msys file path changes, Windows NEURON version
Try checking the value returned by neuronhome().