[kepler-dev] [Bug 2516] New: - Port Datatypes not set properly for derived RExpression actors

bugzilla-daemon@ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Fri Aug 18 12:11:11 PDT 2006


           Summary: Port Datatypes not set properly for derived RExpression
           Product: Kepler
           Version: 1.0.0beta2
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: actors
        AssignedTo: higgins at nceas.ucsb.edu
        ReportedBy: higgins at nceas.ucsb.edu
         QAContact: kepler-dev at ecoinformatics.org

Several specialized instances of the RExpression actor now wxist in our actor
ontology list. e.g. RandomNormal and RandomUniform. Both of these have an
output port called 'Dist' added in the Moml in the kar xml file. If you add
these actors to a new workflow and connect a Display actor to the Dist port,
nothing appears when the workflow finishes. The problem apparently is the the
Dist port thinks its output type is 'unknown'. In fact, it is {double" (i.e. an
array of doubles.

I can set the dataType to '{double)' in the RandomNormal.xml file, but the
actor still shows 'unknown' after rebuilding. For some reason, the dataType is
not being properly set for these actors.

NOTE: In the kar xml, the port is descrtibed by:
<property name="kepler:Dist" class="org.kepler.moml.PortAttribute">
  <property name="direction" value="output"
  <property name="dataType" value="unknown"
  <property name="isMultiport" value="false"

In a saved workflow, the port is described by:
        <port name="Dist" class="ptolemy.actor.TypedIOPort">
            <property name="output"/>
            <property name="_type" class="ptolemy.actor.TypeAttribute"

More information about the Kepler-dev mailing list