file_system.step_prepare_directories#

autoclean.utils.file_system.step_prepare_directories(task, autoclean_dir_str)[source]#

Set up and validate directory structure for processing pipeline.

Parameters:
taskstr

The name of the processing task.

autoclean_dir_strPath

The path to the autoclean directory.

Returns:
Tuple of Path objects for key directories:
(autoclean_dir, bids_dir, metadata_dir, clean_dir, stage_dir, logs_dir, flagged_dir)