cygwin vs msys file path changes, Windows NEURON version

Post Reply
JimH
Posts: 54
Joined: Tue Apr 10, 2007 3:36 pm
Location: Duke University

cygwin vs msys file path changes, Windows NEURON version

Post 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)?
ted
Site Admin
Posts: 5784
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

Post by ted »

Try checking the value returned by neuronhome().
Post Reply