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

ben leinfelder leinfelder at nceas.ucsb.edu
Thu Jan 14 10:12:13 PST 2010


Christopher -
You're right that the problem arises because RExpression does not  
always produce a token on the graphicsFileName output port. Should it?
If that's the case then we can forget about any changes to  
StringReplace. I'd rather not be mucking around in there anyway.
-ben

On Jan 14, 2010, at 10:03 AM, Christopher Brooks wrote:

> 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