diff --git a/src/triage/component/architect/builders.py b/src/triage/component/architect/builders.py index bd9cc9b95..1c5a9be94 100644 --- a/src/triage/component/architect/builders.py +++ b/src/triage/component/architect/builders.py @@ -588,10 +588,12 @@ def remove_unnecessary_files(self, filenames, path_, matrix_uuid): # deleting features and label csvs for filename_ in filenames: cmd_line = 'rm ' + filename_ + logger.debug(f"removing files with command {cmd_line}") subprocess.run(cmd_line, shell=True) # deleting the merged csv cmd_line = 'rm ' + path_ + "/" + matrix_uuid + '.csv' + logger.debug(f"removing stitched csv with command {cmd_line}") subprocess.run(cmd_line, shell=True) \ No newline at end of file diff --git a/src/triage/component/architect/utils.py b/src/triage/component/architect/utils.py index c75b176e9..019abe19a 100644 --- a/src/triage/component/architect/utils.py +++ b/src/triage/component/architect/utils.py @@ -321,5 +321,6 @@ def generate_list_of_files_to_remove(filenames, matrix_uuid): # adding fixed files rm_files.append(prefix + "_fixed.csv") + logger.debug(f"Files to be removed {rm_files}") return rm_files