https://projects.ecoinformatics.org/ecoinfo/https://projects.ecoinformatics.org/ecoinfo/ecoinfo/favicon.ico?14691340362012-07-02T23:12:27ZEcoinformatics RedmineKepler - Bug #5589: Add missing ptolemy actors to libraryhttps://projects.ecoinformatics.org/ecoinfo/issues/5589?journal_id=193912012-07-02T23:12:27ZDaniel Crawldanielcrawl@gmail.com
<ul></ul><p>I added a new ant target, "find-missing-actors", to list the files of actors, directors, and parameters not in the actor tree, and attached the output to this bug. Christopher, if you tell me what can be added to Kepler, I'll create the metadata files so they appear in the actor tree. Many of the Ptolemy files belong to domains not currently present in Kepler, e.g., SR, Rendezvous, Taskpt, etc. If these are not available in Kepler, then it would be good to update build-area/settings/ptolemy-excludes.</p> Kepler - Bug #5589: Add missing ptolemy actors to libraryhttps://projects.ecoinformatics.org/ecoinfo/issues/5589?journal_id=193922012-07-20T17:50:30ZChristopher Brookscxh@eecs.berkeley.edu
<ul></ul><p>The list did not include attributes in vergil/actor/lib?</p>
<p>There are some actors that are listed that are base classes for actors<br />that are already included.</p> Kepler - Bug #5589: Add missing ptolemy actors to libraryhttps://projects.ecoinformatics.org/ecoinfo/issues/5589?journal_id=193932012-07-25T23:11:36ZDaniel Crawldanielcrawl@gmail.com
<ul></ul><p>Thanks, Christopher! I added most of the actors and attributes on the list. I also updated ptolemy-excludes.</p>
<p>I couldn't create kar entries for some of the actors because clone() threw an NPE:</p>
<pre><code>[null] java.lang.NullPointerException<br /> [null] at ptolemy.actor.lib.ComputeHistogram.clone(ComputeHistogram.java:197)</code></pre>
<pre><code>[null] java.lang.NullPointerException<br /> [null] at ptolemy.actor.lib.Lattice.clone(Lattice.java:182)</code></pre>
<pre><code>[null] java.lang.NullPointerException<br /> [null] at ptolemy.actor.lib.RecursiveLattice.clone(RecursiveLattice.java:184)</code></pre> Kepler - Bug #5589: Add missing ptolemy actors to libraryhttps://projects.ecoinformatics.org/ecoinfo/issues/5589?journal_id=193942012-07-26T14:57:49ZChristopher Brookscxh@eecs.berkeley.edu
<ul></ul><p>I added a test that, for each configuration, instantiates an actor and then<br />calls clone on the actor.</p>
<p>I fixed clone(Workspace) in ptolemy/actor/lib/ComputeHistogram.java <br />and ptolemy/actor/lib/RecursiveLattice.java</p> Kepler - Bug #5589: Add missing ptolemy actors to libraryhttps://projects.ecoinformatics.org/ecoinfo/issues/5589?journal_id=193952012-07-28T00:37:09ZDaniel Crawldanielcrawl@gmail.com
<ul></ul><p>Thanks again, Christopher. After your fix, I was able to add entries for ComputeHistogram, RecursiveLattice, VariableRecursiveLattice, Lattice, and VariableLattice.</p> Kepler - Bug #5589: Add missing ptolemy actors to libraryhttps://projects.ecoinformatics.org/ecoinfo/issues/5589?journal_id=193962013-03-27T21:31:00ZRedmine Admin
<ul></ul><p>Original Bugzilla ID was 5589</p>