Page 1 of 1

Programmatically determining version number

Posted: Wed Sep 12, 2012 11:46 am
by peadargrant
Does any command in NEURON actually return its version number as either a string or numeric value?

In my quest to further improve the reliability (and reproducibility), I have been directly writing LaTeX files with macros such as the network parameters, stimulation etc. Having the version number in there would be another less thing to type manually!

Re: Programmatically determining version number

Posted: Wed Sep 12, 2012 4:32 pm
by ted
At the command line
nrngui --version
or
nrniv --version

Re: Programmatically determining version number

Posted: Thu Sep 13, 2012 5:40 am
by peadargrant
Thanks Ted! That's perfect :)