pat2vec.util.current_pat_batch_path_methods
Classes
|
Manages the creation and organization of directory paths for the pipeline. |
- class pat2vec.util.current_pat_batch_path_methods.PathsClass(root_path, suffix, output_folder)[source]
Bases:
object
Manages the creation and organization of directory paths for the pipeline.
- Parameters:
root_path (str)
suffix (str)
output_folder (str)
- __init__(root_path, suffix, output_folder)[source]
Initializes the PathsClass.
Sets up and creates all necessary directory paths for a processing run.
- Parameters:
root_path (
str
) – The root directory path where all paths will be based.suffix (
str
) – The suffix to be appended to each directory name for differentiation.output_folder (
str
) – The name of the main output folder (e.g., ‘outputs’).
- Return type:
None
- root_path
The provided root directory path.
- Type:
str
- suffix
The provided suffix for directory names.
- Type:
str
- all_paths
A list of all generated absolute directory paths.
- Type:
List[str]
- output_folder_path
The absolute path to the main output directory.
- Type:
str