morphology_workflows.utils

Util functions.

Module Contents

Functions

is_morphology(filename)

Returns True if the extension is supported.

silent_logger(log_name)

A decorator to silent a logger during the function execution.

disable_loggers(*logger_names)

A context manager to silent loggers during the body execution.

Attributes

EXTS

morphology_workflows.utils.EXTS
morphology_workflows.utils.is_morphology(filename)

Returns True if the extension is supported.

morphology_workflows.utils.silent_logger(log_name)

A decorator to silent a logger during the function execution.

morphology_workflows.utils.disable_loggers(*logger_names)

A context manager to silent loggers during the body execution.

Parameters

*logger_names (str) – The names of the loggers to be disabled.