Class for a schedule of pipelines
Class for a schedule of pipelines
PipelineList
object of type MaestroPipelineList
new()
Create a MaestroSchedule object
MaestroSchedule$new(Pipelines = NULL)
Pipelines
list of MaestroPipelines
MaestroSchedule
run()
Run a MaestroSchedule
MaestroSchedule$run(..., quiet = FALSE, run_all = FALSE, n_show_next = 5)
...
arguments passed to MaestroPipelineList$run
quiet
whether or not to silence console messages
run_all
run all pipelines regardless of the schedule (default is FALSE
) - useful for testing.
n_show_next
show the next n scheduled pipes
invisible
get_schedule()
Get the schedule as a data.frame
MaestroSchedule$get_schedule()
data.frame
get_status()
Get status of the pipelines as a data.frame
MaestroSchedule$get_status()
data.frame
get_artifacts()
Get artifacts (return values) from the pipelines
MaestroSchedule$get_artifacts()
list
get_network()
Get the network structure of the pipelines as an edge list (will be empty if there are no DAG pipelines)
MaestroSchedule$get_network()
data.frame
get_flags()
Get all pipeline flags as a long data.frame
MaestroSchedule$get_flags()
data.frame
show_network()
Visualize the DAG relationships between pipelines in the schedule
MaestroSchedule$show_network()
interactive visualization
clone()
The objects of this class are cloneable with this method.
MaestroSchedule$clone(deep = FALSE)
deep
Whether to make a deep clone.
if (interactive()) {
pipeline_dir <- tempdir()
create_pipeline("my_new_pipeline", pipeline_dir, open = FALSE)
schedule <- build_schedule(pipeline_dir = pipeline_dir)
}
Run the code above in your browser using DataLab