plexus.scores.core.utils module

plexus.scores.core.utils.ensure_model_directory_exists(func)
plexus.scores.core.utils.ensure_report_directory_exists(func)

Decorator to ensure the report directory exists before executing the decorated function.

Parameters

funcfunction

The function to be decorated.

Returns

function

The wrapped function that ensures the report directory exists.