def install(version): if not JNeuroMLEngine.is_installed(None): JNeuroMLEngine.install(None) inform("%s installed JNeuroML..." % JNeuroMLNetPyNEEngine.name, indent=2, verbosity=1) if not NetPyNEEngine.is_installed(None): NetPyNEEngine.install(None) inform("%s installed NetPyNE (& NEURON)..." % JNeuroMLNetPyNEEngine.name, indent=2, verbosity=1) environment_vars_nrn, path_nrn = NeuronEngine.get_nrn_environment() JNeuroMLNetPyNEEngine.path = JNeuroMLEngine.path + ":" + path_nrn JNeuroMLNetPyNEEngine.environment_vars = {} JNeuroMLNetPyNEEngine.environment_vars.update( JNeuroMLEngine.environment_vars) JNeuroMLNetPyNEEngine.environment_vars.update( NetPyNEEngine.environment_vars) JNeuroMLNetPyNEEngine.environment_vars.update(environment_vars_nrn) inform("PATH: " + JNeuroMLNetPyNEEngine.path) inform("Env vars: %s" % JNeuroMLNetPyNEEngine.environment_vars)
def is_installed(version): if is_verbose(): inform("Checking whether %s is installed..." % JNeuroMLPyNNNRNEngine.name, indent=1) return JNeuroMLEngine.is_installed( None) and PyNNNRNEngine.is_installed(None)
def install(version): if not JNeuroMLEngine.is_installed(None): JNeuroMLEngine.install(None) if not NeuronEngine.is_installed(None): NeuronEngine.install(None) JNeuroMLNRNEngine.get_jnmlnrnenv()
def install(version): if not JNeuroMLEngine.is_installed(None): JNeuroMLEngine.install(None) JNeuroMLValidateEngine.path = JNeuroMLEngine.path JNeuroMLValidateEngine.environment_vars = {} JNeuroMLValidateEngine.environment_vars.update( JNeuroMLEngine.environment_vars)
def install(version): if not JNeuroMLEngine.is_installed(None): JNeuroMLEngine.install(None) JNeuroMLValidateEngine.path = JNeuroMLEngine.path JNeuroMLValidateEngine.environment_vars = {} JNeuroMLValidateEngine.environment_vars.update( JNeuroMLEngine.environment_vars)
def install(version): if not JNeuroMLEngine.is_installed(None): JNeuroMLEngine.install(None) if not MooseEngine.is_installed(None): MooseEngine.install(None) JNeuroMLMooseEngine.path = JNeuroMLEngine.path + \ ":" + JNeuroMLMooseEngine.path JNeuroMLMooseEngine.environment_vars = {} JNeuroMLMooseEngine.environment_vars.update( JNeuroMLEngine.environment_vars) JNeuroMLMooseEngine.environment_vars.update( MooseEngine.environment_vars) inform("PATH: " + JNeuroMLMooseEngine.path) inform("Env vars: %s" % JNeuroMLMooseEngine.environment_vars)
def install(version): if not JNeuroMLEngine.is_installed(None): JNeuroMLEngine.install(None) if not Brian1Engine.is_installed(None): Brian1Engine.install(None) JNeuroMLBrianEngine.path = JNeuroMLEngine.path + \ ":" + Brian1Engine.path JNeuroMLBrianEngine.environment_vars = {} JNeuroMLBrianEngine.environment_vars.update( JNeuroMLEngine.environment_vars) JNeuroMLBrianEngine.environment_vars.update( Brian1Engine.environment_vars) inform("PATH: " + JNeuroMLBrianEngine.path) inform("Env vars: %s" % JNeuroMLBrianEngine.environment_vars)
def install(version): if not JNeuroMLEngine.is_installed(None): JNeuroMLEngine.install(None) if not NeuronEngine.is_installed(None): NeuronEngine.install(None) environment_vars_nrn, path_nrn = NeuronEngine.get_nrn_environment() JNeuroMLNRNEngine.path = JNeuroMLEngine.path + \ ":" + path_nrn JNeuroMLNRNEngine.environment_vars = {} JNeuroMLNRNEngine.environment_vars.update( JNeuroMLEngine.environment_vars) JNeuroMLNRNEngine.environment_vars.update(environment_vars_nrn) inform("PATH: " + JNeuroMLNRNEngine.path) inform("Env vars: %s" % JNeuroMLNRNEngine.environment_vars)
def install(version): if not JNeuroMLEngine.is_installed(None): JNeuroMLEngine.install(None) inform("%s installed JNeuroML..." % JNeuroMLNetPyNEEngine.name, indent=2, verbosity =1) if not NetPyNEEngine.is_installed(None): NetPyNEEngine.install(None) inform("%s installed NetPyNE (& NEURON)..." % JNeuroMLNetPyNEEngine.name, indent=2, verbosity =1) environment_vars_nrn, path_nrn = NeuronEngine.get_nrn_environment() JNeuroMLNetPyNEEngine.path = JNeuroMLEngine.path+":"+path_nrn JNeuroMLNetPyNEEngine.environment_vars = {} JNeuroMLNetPyNEEngine.environment_vars.update(JNeuroMLEngine.environment_vars) JNeuroMLNetPyNEEngine.environment_vars.update(NetPyNEEngine.environment_vars) JNeuroMLNetPyNEEngine.environment_vars.update(environment_vars_nrn) inform("PATH: " + JNeuroMLNetPyNEEngine.path) inform("Env vars: %s" % JNeuroMLNetPyNEEngine.environment_vars)
def install(version): if not JNeuroMLEngine.is_installed(None): JNeuroMLEngine.install(None) if not NeuronEngine.is_installed(None): NeuronEngine.install(None) environment_vars_nrn, path_nrn = NeuronEngine.get_nrn_environment() JNeuroMLNRNEngine.path = JNeuroMLEngine.path + \ ":" + path_nrn JNeuroMLNRNEngine.environment_vars = {} JNeuroMLNRNEngine.environment_vars.update( JNeuroMLEngine.environment_vars) JNeuroMLNRNEngine.environment_vars.update( environment_vars_nrn) inform("PATH: " + JNeuroMLNRNEngine.path) inform("Env vars: %s" % JNeuroMLNRNEngine.environment_vars)
def is_installed(version): if is_verbose(): inform("Checking whether %s is installed..." % JNeuroMLMooseEngine.name, indent=1) return JNeuroMLEngine.is_installed(None) and MooseEngine.is_installed(None)
def is_installed(version): return JNeuroMLEngine.is_installed(None)
def is_installed(version): return JNeuroMLEngine.is_installed(None)