suny-downstate-medical-center / netpyne

A Python package to facilitate the development, parallel simulation, optimization and analysis of multiscale biological neuronal networks in NEURON.
http://www.netpyne.org
MIT License
144 stars 135 forks source link

gitId() defined #653

Closed wwlytton closed 2 years ago

wwlytton commented 2 years ago

in utils.py alongside **def gitChangeset()**

Usage:

from netpyne import sim sim.utils.gitId() # show Id info NetPyNE branch "gitId" from /u/billl/nrniv/netpyne/netpyne (version:03da054d; origin:git@github.com:suny-downstate-medical-center/netpyne) sim.utils.gitId(show=False) # return Id info ['gitId', '/u/billl/nrniv/netpyne/netpyne', '03da054d4dd0db1b64bc07ec3f72ce6b20351810', 'git@github.com:suny-downstate-medical-center/netpyne']