← Back to team overview

yade-users team mailing list archive

problem with PyRunner

 

Hi all,

I have a problem with PyRunner on rev 2648.

It seems that the command name is not recognized :
For example in law-test.py you have :
*...
PyRunner(iterPeriod=1,command='addPlotData()'),
....

def addPlotData():
....


the error in the terminal is :
 
/home/fbourrier/Documents/YADE2648/lib/yade-bzr2648/py/yade/__init__.pyc in <module>()
----> 1 
      2 
      3 
      4 
      5 

NameError: name 'addPlotData' is not defined


Do you have an idea ?

Franck

Follow ups