slient mode ?

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

Moderator: hines

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

slient mode ?

Post by stil » Mon Sep 26, 2011 10:18 am

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 !

ted
Site Admin
Posts: 5545
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Re: slient mode ?

Post by ted » Mon Sep 26, 2011 11:04 am

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

Post Reply