iota2.steps.iota2_step

module containing base class for iota2’s steps

Functions

ensure_dir(dirname[, raise_exe])

Ensure that a named directory exists; if it does not, attempt to create it.

increase_resources(cpu, ram, walltime)

definition of the strategy for increasing resources in case

parse_ram(ram_str)

ram_str_to_gb_float(ram_str)

convert ram str to a float representation in gb

run(cmd[, desc, env, logger])

Launch a system command and raise an execption if fail

run_as_process(cmd, stdout, stderr[, env])

Launch a system command and raise an execption if fail

wraps(wrapped[, assigned, updated])

Decorator factory to apply update_wrapper() to a wrapper function

Classes

Popen(args[, bufsize, executable, stdin, ...])

Execute a child program in a new process.

Step(cfg, cfg_resources_file[, ...])

iota2 step base class

StepContainer([name])

this class is dedicated to contains Step

change_name(new_name)

decorator to temporary change fonction's name useful to plot dask graph

make_singleton

metaclass dedicated to build a class as a singleton

singleton_list(*args, **kwargs)

singleton list