nrv-framework / NRV

NeuRon Virtualizer (NRV)
https://nrv.readthedocs.io/en/latest/
Other
6 stars 2 forks source link

Testing if NEURON is callable from python #21

Closed louisreg closed 1 year ago

louisreg commented 2 years ago

test if NEURON is not in the path. Something like: import subprocess

A = subprocess.run(["which", "toto"], capture_output=True) if A.stdout.decode().strip() = "": print("program 'toto' not found")'

fkolbl commented 1 year ago

solved in dev