[kepler-users] rename actor in kar file

Jianwu Wang jianwu at sdsc.edu
Mon Aug 16 14:15:26 PDT 2010


  Hi Chris,

     The difference I found between open from a kar file (File-->Open 
Archive) and open from MyWorflows folder in Kepler GUI is that: the 
former way will show the composite actor (say A) with correct input port 
but the latter way will show a composite actor (say B) without input 
port. I need to open this composite actor B to find the composite actor 
A with correct input port.

     Also the name of B is weird. If the kar file is saved as 'Unamed1', 
the composite actor showed under 'Unamed1,kar' is shown as 'Unamed1'. 
But you drag and drop it to an empty canvas, its name becomes 'Unamed'. 
If the kar is saved as 'Unamed', everything looks normal. It looks the 
number at the end of the actor will be removed when dragging and 
dropping it.

     My tests on Windows and Mac are the same. Do you get the same behavior?

Best wishes

Sincerely yours

Jianwu Wang
jianwu at sdsc.edu
http://users.sdsc.edu/~jianwu/

Assistant Project Scientist
Scientific Workflow Automation Technologies (SWAT) Laboratory
San Diego Supercomputer Center
University of California, San Diego
San Diego, CA, U.S.A.


On 8/16/2010 12:39 PM, Chris Weed wrote:
> Hi Jianwu,
> 1. yes, I meant nondeterministic merge
> 2. I just did the same test you did, and it works when opened from a
> kar file, but not when I saved the kar file in the MyWorkflows
> directory. You can see the kar file in the MyWorkflows folder in the
> Kepler Gui and drag it into the Kepler desktop. When you do this the
> input port is not a multi-port, anymore.
>
> HTH,
> Chris
>
> On Mon, Aug 16, 2010 at 3:25 PM, Jianwu Wang<jianwu at sdsc.edu>  wrote:
>>   Hi Chris,
>>
>>     I can not reproduce this error. Would you please help me on the following
>> questions? Thanks.
>>
>>     1, Do you mean 'Nondeterministic Merge' actor? I didn't find
>> 'Deterministic Merge' in Kepler 2.0.
>>     2, Where is the input port you can not save its attribute? The composite
>> actor encapsulating the 'Nondeterministic Merge' actor?
>>
>>     I put a 'Nondeterministic Merge' actor into a composite actor, added a
>> input port to the composite actor and configured it to be Multi-port, save
>> the composite actor as a kar. When I opened the kar file, the input port was
>> still Multi-port.
>>
>> Best wishes
>>
>> Sincerely yours
>>
>> Jianwu Wang
>> jianwu at sdsc.edu
>> http://users.sdsc.edu/~jianwu/
>>
>> Assistant Project Scientist
>> Scientific Workflow Automation Technologies (SWAT) Laboratory
>> San Diego Supercomputer Center
>> University of California, San Diego
>> San Diego, CA, U.S.A.
>>
>>
>> On 8/3/2010 1:31 PM, Chris Weed wrote:
>>> FYI, I just tried your suggestion about encapsulating the
>>> "Deterministic Merge" actor in a composite actor,
>>> but it wouldn't save the attribute for the input port to be a
>>> multi-port. It would revert back to a single input port.
>>> Seems to be a bug.
>>> Chris
>>>
>>> On Tue, Jul 20, 2010 at 6:00 PM, Jianwu Wang<jianwu at sdsc.edu>    wrote:
>>>> Hi Chris,
>>>>
>>>>      I find the same behavior here. I'm not sure what's the reason of it.
>>>> Maybe others can point it out.
>>>>
>>>>      An alternative workaround way is to put your actor into a composite
>>>> actor. Then rename the composite actor and save it in MyWorkflows
>>>> directory.
>>>> You should be able to search the actor with its new name.
>>>>
>>>>      About comma in kar files, I think it is a convention.
>>>>
>>>> Best wishes
>>>>
>>>> Sincerely yours
>>>>
>>>> Jianwu Wang
>>>> jianwu at sdsc.edu
>>>> http://users.sdsc.edu/~jianwu/
>>>>
>>>> Assistant Project Scientist
>>>> Scientific Workflow Automation Technologies (SWAT) Laboratory
>>>> San Diego Supercomputer Center
>>>> University of California, San Diego
>>>> San Diego, CA, U.S.A.
>>>>
>>>> On 7/20/2010 12:31 PM, chrisweed at gmail.com wrote:
>>>>
>>>> Hi,
>>>> I am trying to save an actor with a different name, but it doesn't seem
>>>> to
>>>> get saved correctly in the kar file.
>>>> I drag "Nondeterministic Merge" into my workflow, rename it PN Merge, and
>>>> save it in a kar file "PN Merge.kar".
>>>> Then when I go to the MyWorkflows directory, I see "PN Merge,kar" with an
>>>> actor named "Nondeterministic Merge" and not "PN Merge".
>>>> By the way, I also find it strange that it uses a comma in the kar file
>>>> name
>>>> instead of a period.
>>>> Chris
>>>>
>>>> _______________________________________________
>>>> Kepler-users mailing list
>>>> Kepler-users at kepler-project.org
>>>> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users
>>>>



More information about the Kepler-users mailing list