Hi Romain,

that is of course right. I tried this morning with some dummy workflow but 
everything worked just fine, which indicates this is really rather some mistake 
in my specific workflow. Since then, I’ve rewritten and extended this workflow 
and have not encountered any further issue with the strainer capsules.

Andreas

> On 8 May 2015, at 11:13, Romain Reuillon <[email protected]> wrote:
> 
> Hi Andreas,
> 
> it is hard to diagnose with such a massive workflow. Could you reproduce this 
> behaviour with a minimalist one?
> 
> Romain
> 
> 
> 
> Le 07/05/2015 20:26, Andreas Schuh a écrit :
>> Hi,
>> 
>> I have the following linked workflow in my REPEAT plugin, where the puzzle 
>> of interest at the moment is “RegisterImages” which is part of the “run” 
>> sub-workflow in the RunRegistration.scala file. In the apply function of the 
>> RegisterImages object, I create this puzzle piece using strainer capsules 
>> such that I don’t have to know/pass all Prototype variables as arguments. 
>> The problem with this is that the registration task is never executed and 
>> either the output file handling of OpenMOLE, the CopyFileHook or a following 
>> task produces a FileNotFoundException for the phiDof output File which was 
>> never produced by the task.
>> 
>> When I don’t use a strainer capsule for the tasks named 
>> “RegisterImagesBegin” and “RegisterImages” in RegisterImages.scala 
>> everything works fine.
>> 
>> I am curious why I cannot get it to work with strainer capsules and what is 
>> wrong with below code ?
>> 
>> Workflow: RunRegistration.scala 
>> <https://github.com/schuhschuh/REPEAT/blob/2f53c2fab2393596aec71d8446a850602ceb61cc/src/main/scala/com/andreasschuh/repeat/workflow/RunRegistration.scala>
>> Puzzle: RegisterImages.scala 
>> <https://github.com/schuhschuh/REPEAT/blob/2f53c2fab2393596aec71d8446a850602ceb61cc/src/main/scala/com/andreasschuh/repeat/puzzle/RegisterImages.scala#L116>
>> 
>> Thanks,
>> Andreas
>> 
>> 
>> _______________________________________________
>> OpenMOLE-users mailing list
>> [email protected] <mailto:[email protected]>
>> http://fedex.iscpif.fr/mailman/listinfo/openmole-users 
>> <http://fedex.iscpif.fr/mailman/listinfo/openmole-users>
> 
> _______________________________________________
> OpenMOLE-users mailing list
> [email protected]
> http://fedex.iscpif.fr/mailman/listinfo/openmole-users

_______________________________________________
OpenMOLE-users mailing list
[email protected]
http://fedex.iscpif.fr/mailman/listinfo/openmole-users

Reply via email to