slient mode ?

When Python is the interpreter, what is a good
design for the interface to the basic NEURON

Moderator: hines

Post Reply
Posts: 28
Joined: Thu Jul 01, 2010 8:47 am
Location: Mulhouse - France

slient mode ?

Post by stil »


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 !
Site Admin
Posts: 5796
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine

Re: slient mode ?

Post by ted »

Enclose the offending hoc statements with a pair of curly brackets, like so:
{ fadvance() }
Post Reply