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']
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']