ScriptRun¶
Import in python using from mcutils.pipe import ScriptRun
Documentation
-
class
mcutils.pipe.
ScriptRun
(script: mcutils.pipe.Script, variables)[source]¶ Single call of the script with a set of variables
-
__init__
(script: mcutils.pipe.Script, variables)[source]¶ Represents a single potential run of the Script
- Parameters
script – parent script
variables – variable values to use when running the script
Methods
add_to_graph
(graph[, upwards])Adds ScriptRun to the graph
as_dask
([overwrite, overwrite_dependencies, …])Schedules this script and its dependencies on dask
Find all the dependencies
- return
Keyword arguments needed to provide all the filenames & variable values when calling script
input_exists
([error])Checks whether all input files already exist on disk
missing
([overwrite, overwrite_dependencies])Finds any missing input files that will prevent this script from running
output_exists
([error])Checks whether all output files already exist on disk
run
([overwrite, overwrite_dependencies])Runs this script and its dependencies in sequence
submit
([overwrite, overwrite_dependencies])Submits this script and its dependencies to the cluster
Attributes
allow_missing
expected
-