runWorkflow.Rd
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)
Siwaa environment
Input data information. input_data_info contains input data id and history id.
Input parameter (Integer given as str). Value should be adapted to input_data_info size.
'CarboSeqRun' workflow id
Delay (invocation survey). Unit : second.
Boolean to choose 'verbose' or 'silent' mode
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
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').