From 63e7fb28d0fd459e211df1ab6ff6a153471dc312 Mon Sep 17 00:00:00 2001 From: Florez Ospina Juan Felipe Date: Tue, 19 Mar 2024 14:07:37 +0100 Subject: [PATCH] Removed the 'backup_' name from the copied file so that the orignal name is preserved in the hdf5 file. The file copy storage location is enough to distinguise it from the original file. --- src/g5505_utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/g5505_utils.py b/src/g5505_utils.py index 76f1513..a204df6 100644 --- a/src/g5505_utils.py +++ b/src/g5505_utils.py @@ -53,7 +53,8 @@ def split_sample_col_into_sample_and_data_quality_cols(input_data: pd.DataFrame) def make_file_copy(source_file_path): pathtail, filename = os.path.split(source_file_path) - backup_filename = 'backup_'+ filename + #backup_filename = 'backup_'+ filename + backup_filename = filename # Path ROOT_DIR = os.path.abspath(os.curdir)