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 » Wed Sep 12, 2012 11:46 am

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: 5566
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Re: Programmatically determining version number

Post by ted » Wed Sep 12, 2012 4:32 pm

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 » Thu Sep 13, 2012 5:40 am

Thanks Ted! That's perfect :)

Post Reply