tomoscan.framereducer.utils.format_data_path#

tomoscan.framereducer.utils.format_data_path(data_path)#

Format the data path by removing the “{index}” or “{index_zfill4}” pattern if it exists and return the formatted data path and a boolean indicating if the “{index_zfill4}” pattern was found.