Hi,

I'm trying to compose the following tasks together:

2 model running tasks:
model1: inputs x1, outputs y1
model2: inputs x2, output y2

2 tasks that process each the output of each model task:
processOutput1: input y1, output z1
processOutput2: intput y2, output z2

I want to make a single mole task that chains model1 and processOutput1 together, and chains model2 and processOutput2, and runs the two chains in parallel, and has inputs (x1, x2) and outputs (z1,z2)

I've tried:

val maintask = Capsule(MoleTask( (model1 -- processOutput1), (model2 -- processOutput2)))

but I get a type mismatch error:

 found   : org.openmole.core.workflow.puzzle.Puzzle
 required: org.openmole.core.workflow.mole.Capsule
val model = Capsule(MoleTask( (model1 -- processOutput1), (model2 -- processOutput2)))
^

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

Reply via email to