Page 1 of 1

slient mode ?

Posted: Mon Sep 26, 2011 10:18 am
by stil
Hello,

i am launching Neuron from a python script. I use my own simulation loop up to now, in order to implement a communication with another piece of code.
Every time, fadvance() function is called, i have a '1' figure in return from Neuron, and every time a h('something') is achieved.

Is there a way to get rid of these return codes ?
I tried the (quiet = 1) statement before the initialization, but it did not seem to help.

thanks !

Re: slient mode ?

Posted: Mon Sep 26, 2011 11:04 am
by ted
Enclose the offending hoc statements with a pair of curly brackets, like so:
{ fadvance() }