Programmatically determining version number

Anything that doesn't fit elsewhere.
Post Reply
peadargrant
Posts: 8
Joined: Mon May 21, 2012 10:12 am

Programmatically determining version number

Post 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!
ted
Site Admin
Posts: 6300
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Re: Programmatically determining version number

Post by ted »

At the command line
nrngui --version
or
nrniv --version
peadargrant
Posts: 8
Joined: Mon May 21, 2012 10:12 am

Re: Programmatically determining version number

Post by peadargrant »

Thanks Ted! That's perfect :)
Post Reply