[kepler-dev] [Bug 4549] New: - String Replace actor "remembers" previous execution values
bugzilla-daemon at ecoinformatics.org
bugzilla-daemon at ecoinformatics.org
Fri Nov 13 16:56:45 PST 2009
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=4549
Summary: String Replace actor "remembers" previous execution
values
Product: Kepler
Version: 1.x dev
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: actors
AssignedTo: berkley at nceas.ucsb.edu
ReportedBy: soong at nceas.ucsb.edu
QAContact: kepler-dev at kepler-project.org
1. Build a workflow with an SDF director (set iterations to 1), an RExpression
(turn off graphics output), and a Display actor. Hook the RExpression
graphicsFileName port to the Display input port.
2. Run this workflow. There should be no noticeable output, as no token was
passed to the Display actor. An Rplots.pdf file should have been generated in
the appropriate subfolder of .kepler.
3. Add a String Replace actor. Hook the RExpression graphicsFileName port to
the String Replace stringToEdit port, and hook the String Replace output port
to the Display input port.
4. Run this workflow. Notice now that a Display actor window opens. A blank
token of some sort was passed to the Display actor (I it's a "" string token).
Again, another Rplots.pdf file should have been generated.
5. Turn on graphics output in the RExpression and run the workflow. The
expected RExpression-1.png file should have been generated, and the Display
actor should open and display the filename. Pay attention to the timestamp on
the folder.
6. Turn off graphics output in the RExpression and run the workflow. The
Display actor should open again and display the png filename from the previous
execution. If you browse the .kepler, you should see the correct folder with
the expected Rplots.pdf file.
More information about the Kepler-dev
mailing list