chemicalchecker.util.pipeline.task_base.BaseTask

class BaseTask(name, **params)[source]

Bases: object

BaseTask class.

A Step base class. Implements methods and checks common to all steps.

Initialize the Step.

Methods

clean

Clean the step.

custom_ready

is_ready

Check if the step is already done.

mark_ready

Mark the step as done.

run

Run the step.

set_dirs

clean(substep=None)[source]

Clean the step.

is_ready(substep=None)[source]

Check if the step is already done.

mark_ready(substep=None)[source]

Mark the step as done.

abstract run()[source]

Run the step.