29 May
2013
29 May
'13
6:39 p.m.
On 05/29/2013 02:14 PM, steve wrote:
Is there an easy way to dial down the verbosity of sfepy in particular during the "Probe" steps? I tried what I thought were some sensible things (e.g., 'verbose':False in the problem def options) etc., but nothing seems to work. I did notice the pull request on github for a 'verbose' patch, but it looks like it's not quite ready yet. Sorry if this is a dumb question! ;-)
Check out the global options - It seemed to me to be a better way of controlling this than adding verbose argument to all the functions. Try:
from sfepy.base.base import goptions goptions['verbose'] = False
This should silence all call to output(). If there are print calls in the code they should be removed.
r.