[kepler-users] string constant actor and loop problem

Luis Assunção lass at isel.ipl.pt
Mon Jul 9 09:05:38 PDT 2007


I strongly agree with Edward

One month ago I lost two work days because I was using "String Constant" and
my workflow didn't work. I discovered after the "permanent string
constant"!.

Luis

-----Original Message-----
From: kepler-users-bounces at ecoinformatics.org
[mailto:kepler-users-bounces at ecoinformatics.org] On Behalf Of Edward A. Lee
Sent: segunda-feira, 9 de Julho de 2007 7:10
To: Dan Higgins
Cc: [BE] Ufuk Utku Turuncoglu; [User List] KEPLER-USER
Subject: Re: [kepler-users] string constant actor and loop problem


Rather than having two actors (which can be confusing) wouldn't
it be better to simply augment StringConst (or better yet, its
base class, Const) with parameter firingCountLimit?  Some actors
have this parameter...  This could be used to limit the actor to
one firing.

Edward


At 08:18 AM 7/3/2007, Dan Higgins wrote:
>Hi,
>    It is not clear to me from your description exactly what your 
>problem is. One possibility may be related to the Director your workflow 
>is using (PN or SDF) and the fact that there are two types of String 
>Constant actors (one is called 'String Constant' and the other is 
>'Permanent String Constant'). The one named 'Permanent String Constant' 
>will repeatedly output a string, while the other only output a string 
>once. You might try changing the one you are using. (Also, it might be 
>useful in the future if you could include an example workflow with any 
>questions).
>
>Dan Higgins
>NCEAS - UCSB
>
>[BE] Ufuk Utku Turuncoglu wrote:
>> Hi,
>>
>> I try to iterate a workflow which contains some string operations such 
>> as string replace and accumulator. So, i need to input a string constant 
>> to string accumulator actor. In this case the workflow is not 
>> continue/iterate. When i delete the string constant actor the workflow 
>> is working successfully. How can i iterate this kind of workflow? Is it 
>> neccecary to add an extra actor that send dummy argument to trigger port 
>> of the string constant actor?
>>
>> best regards,
>>
>> Ufuk Utku Turuncoglu
>> ITU, Informatics Institute
>> Computational Science and Engineering Programme
>> _______________________________________________
>> Kepler-users mailing list
>> Kepler-users at ecoinformatics.org
>>
http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-users
>>
>>   
>
>_______________________________________________
>Kepler-users mailing list
>Kepler-users at ecoinformatics.org
>http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-users

------------ 
Edward A. Lee
Chair of EECS and Robert S. Pepper Distinguished Professor
231 Cory Hall, UC Berkeley, Berkeley, CA 94720-1770
phone: 510-642-0253, fax: 510-642-2845
eal at eecs.Berkeley.EDU, http://ptolemy.eecs.berkeley.edu/~eal  

_______________________________________________
Kepler-users mailing list
Kepler-users at ecoinformatics.org
http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-users




More information about the Kepler-users mailing list