ewoksmx.tasks.mx_ccp4.utils.FolderManager#

class ewoksmx.tasks.mx_ccp4.utils.FolderManager(is_single_run, task_name)[source]#

Bases: object

create_folder_if_not_exists(folder_path)[source]#

Create a folder at the specified path if it does not already exist.

Args:

folder_path (str): The path of the folder to create.

Returns:

None

get_output_folder(raw_dataset_path)[source]#

Returns the outputfolder path where output data should be written It keeps the same path as the raw dataset but replacing RAW_DATA by PROCESSED_DATA