the `-' in a prompt
Posted: Mon Sep 22, 2008 5:19 am
Dear, I'm encountering a small but annoying problem.It might be caused be caused by bad programming but still it deserves a solution. Normally when you add the "-" (dash) at the end of a nrniv command, neuron is not quitting after the last command. Now i want to obtain the same result when loading a simulation from python. As replied in another post of this forum, the "nrniv -python <pythonfile>" doesn't work at my system, so i cannot add the dash. when executing the file as "python <py_file_with_nrn_statements>" it works. However (due to the aforementioned bad programming), when i hit the stop button in the runcontrol, the whole simulation ends and neuron ends. Is there a way to load a python file, run it from python and not quit neuron after pressing the stop button?
Thanks, Ben
Thanks, Ben