Page 1 of 1

cygwin vs msys file path changes, Windows NEURON version

Posted: Thu Sep 05, 2019 11:40 pm
by JimH
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)?

Re: cygwin vs msys file path changes, Windows NEURON version

Posted: Sat Sep 07, 2019 3:37 pm
by ted
Try checking the value returned by neuronhome().