|
| 1 | +sample_date = '2022-02-01' ; |
| 2 | +broken_tile_paths = { ... |
| 3 | + '2022-02-05/02/02572', ... |
| 4 | + '2022-02-05/02/02638', ... |
| 5 | + '2022-02-05/02/02646', ... |
| 6 | + '2022-02-05/02/02650', ... |
| 7 | + '2022-02-05/02/02664', ... |
| 8 | + '2022-02-05/02/02668', ... |
| 9 | + '2022-02-05/02/02672', ... |
| 10 | + '2022-02-05/02/02686', ... |
| 11 | + '2022-02-05/02/02690', ... |
| 12 | + '2022-02-05/02/02698', ... |
| 13 | + '2022-02-05/02/02699', ... |
| 14 | + '2022-02-05/02/02704', ... |
| 15 | + '2022-02-05/02/02713', ... |
| 16 | + '2022-02-05/02/02730', ... |
| 17 | + '2022-02-05/02/02734' } ; |
| 18 | + |
| 19 | +pipeline_output_folder_path_template_from_stage_index = { ... |
| 20 | + '/nrs/mouselight/pipeline_output/%s/stage_1_line_fix_output', ... |
| 21 | + '/nrs/mouselight/pipeline_output/%s/stage_2_classifier_output', ... |
| 22 | + '/nrs/mouselight/pipeline_output/%s/stage_3_descriptor_output', ... |
| 23 | + '/nrs/mouselight/pipeline_output/%s/stage_4_point_match_output'} ; |
| 24 | +pipeline_output_folder_from_stage_index = ... |
| 25 | + cellfun(@(template)(sprintf(template, sample_date)), pipeline_output_folder_path_template_from_stage_index, 'UniformOutput', false) ; |
| 26 | + |
| 27 | +stage_count = length(pipeline_output_folder_from_stage_index) ; |
| 28 | +for stage_index = 1 : stage_count , |
| 29 | + root_path = pipeline_output_folder_from_stage_index{stage_index} |
| 30 | + cellfun(@(tile_path)(system_from_list_with_error_handling({'rm', '-rf', fullfile(root_path, tile_path)})), broken_tile_paths, 'UniformOutput', false) ; |
| 31 | +end |
0 commit comments