[kepler-dev] Bug 4549: String Replace actor "remembers" previous execution values

Christopher Brooks cxh at eecs.berkeley.edu
Thu Jan 14 10:03:26 PST 2010


Hi Ben,
On http://bugzilla.ecoinformatics.org/show_bug.cgi?id=4549
I think the problem might be that RExpression is not producing
data every time it is fired?  This would make it
difficult to use RExpression in SDF.  I'm not sure about this
though.

The issue is that StringReplace has port parameters, so
it can be used as a source with no inputs.

Try running $PTII/ptolemy/actor/lib/string/test/auto/StringReplace2.xml
with your changes.

I just backed out your changes because they break that test.
Sorry about that, but I'm in the process of building test releases
and don't want regressions right now.

I believe that there is this generic issue with RExpression and
any actor that has PortParameters.

I'm focussing on other things right now, but if you could create
a simple demo that illustrates the problem that does not use
RExpression, then we might get some traction here.

_Christopher
-- 
Christopher Brooks, PMP                       University of California
CHESS Executive Director                      US Mail: 337 Cory Hall
Programmer/Analyst CHESS/Ptolemy/Trust        Berkeley, CA 94720-1774
ph: 510.643.9841 fax:510.642.2718	      (Office: 545Q Cory)
home: (F-Tu) 707.665.0131 cell: 707.332.0670


More information about the Kepler-dev mailing list