[kepler-dev] Duplicate function actors?
Christopher Brooks
cxh at eecs.berkeley.edu
Wed Jan 25 14:35:16 PST 2006
Hi Dan,
Ptolemy II uses the DirectoryListing actor as part of the run all
demos demo that runs in the display case.
This demo is ptolemy/demo/RunDemos.xml
The actor is used in ptolemy/demo/RunDemosInNewProcess.xml
It is also used in ptolemy/actor/lib/io/demo/FilePortParamter.xml
and ptolemy/actor/lib/test/auto/ExecRunDemos.xml
and ptolemy/domains/sdf/test/auto/filePortParameter.xml
I'm not particularly wedded to the DirectoryListing actor, we could
modify it to better meet Kepler's needs and then either discard
FileArrayPrinter or have it call DirectoryListing but not be listed in
Kepler's ui. I'd prefer to discard FileArrayPrinter and move on.
It looks like FileArrayPrinter is used in the following models:
/home/eecs/cxh/src/kepler/src/org/resurgence/moml/FileListSequencer.xml: <entity name="File Array Printer" class="org.resurgence.actor.FileArrayPrinter">
/home/eecs/cxh/src/kepler/src/org/resurgence/moml/MoleculeSelector.xml: <entity name="File Array Printer" class="org.resurgence.actor.FileArrayPrinter">
Perhaps the authors of these models could use DirectoryListing or
else tell me how DirectoryListing should change?
Seems like a bug should be filed for this one. I'm tempted
to take it, but I'm slightly over committed.
_Christopher
Ilkay wrote:
--------
Hi Dan,
AFAIK, they are the same in functionality. There might be some
differences between the datatypes/structures they output, and it needs
to be consolidated.
-ilkay
On Jan 25, 2006, at 2:15 PM, Dan Higgins wrote:
> Hi All,
>
> Does anyone out there know if there is a difference in the basic
> functionality of the DirectoryListing actor (author Christopher
> Hylands, Edward A. Lee) and the FileArrayPrinter actor (author Wibke
> Sudholt). Both seem to do the same thing (extract file lists from a
> directory); the DirectoryListing actor seems more full featured (works
> with URLs). Does the FileArrayPrinter do anything the Directory Listing
> actors does not?
>
> Dan
>
> --
> *******************************************************************
> Dan Higgins higgins at nceas.ucsb.edu
> http://www.nceas.ucsb.edu/ Ph: 805-893-5127
> National Center for Ecological Analysis and Synthesis (NCEAS) Marine
> Science Building - Room 3405
> Santa Barbara, CA 93195
> *******************************************************************
>
>
> _______________________________________________
> Kepler-dev mailing list
> Kepler-dev at ecoinformatics.org
> http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-
> dev
_______________________________________________
Kepler-dev mailing list
Kepler-dev at ecoinformatics.org
http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-dev
--------
More information about the Kepler-dev
mailing list