generic_tab_processor#

This module contains the generic processor classes that are used to define the processing steps and run the processing This is inherited by all processors in ClearMap

exception CanceledProcessing[source]#

Bases: BrokenProcessPool

class ProcessorSteps(workspace, postfix='')[source]#

Bases: object

get_next_steps(step_name)[source]#
path(step, step_back=False, n_before=0)[source]#
path_from_step_name(step_name)[source]#
remove_next_steps_files(target_step_name)[source]#
step_exists(step_name)[source]#
property existing_steps#
property last_step#
property steps#
class TabProcessor[source]#

Bases: object

prepare_watcher_for_substep(counter_size, pattern, title, increment_main=False)[source]#

Prepare the progress watcher for the coming processing step. The watcher will in turn signal changes to the progress bar

Arguments

counter_size: int

The progress bar maximum

pattern: str or re.Pattern or (str, re.Pattern)

The string to search for in the log to signal an increment of 1

title: str

The title of the step for the progress bar

increment_main: bool

Whether a new step should be added to the main progress bar

run()[source]#
set_progress_watcher(watcher)[source]#
set_watcher_step(step_name)[source]#
stop_process()[source]#
update_watcher_main_progress(val=1)[source]#
update_watcher_progress(val)[source]#
property verbose#