Launch 'CarboSeqRun' workflow ('workflow_id') execution (invocation) into a history with an input data. Then get and return the output data information, after having waited (infinite loop) for invocation to be scheduled (in order to be able to access to invocation outputs information).

runWorkflow(env, input_data_info, chunck_size, workflow_id, delay, v)

Arguments

env

Siwaa environment

input_data_info

Input data information. input_data_info contains input data id and history id.

chunck_size

Input parameter (Integer given as str). Value should be adapted to input_data_info size.

workflow_id

'CarboSeqRun' workflow id

delay

Delay (invocation survey). Unit : second.

v

Boolean to choose 'verbose' or 'silent' mode

Value

output_data_info Output data information, containing output_data_info$history_id, output_data_info$creating_job...

output_data_identified Boolean to know if output_data_info valid

terminal_state Boolean,

invocation_scheduled Boolean,

invocation_info Workflow invocation information

message

Details

The infinite loop wait for workflow invocation to reach a terminal state. It refresh invocation information, with a 'delay' between 2 requests. If the terminal state is 'scheduled', then it is possible to access to invocation outputs information, output_data_identified is TRUE. If it is a terminal state other than 'scheduled', then it is not possible to access to invocation outputs information, output_data_identified is FALSE.

It is possible to set the survey step between 2 requests ('delay').