From 2ef222e7e6bd0ccc3f8d4581dc4402a900b84cca Mon Sep 17 00:00:00 2001 From: "Takumi.Matsunobu" <takumi.matsunobu@physik.uni-muenchen.de> Date: Sat, 14 Oct 2023 21:45:12 +0000 Subject: [PATCH] Update compress.py --- templates/common/compress.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/common/compress.py b/templates/common/compress.py index 408df05..247b145 100644 --- a/templates/common/compress.py +++ b/templates/common/compress.py @@ -53,9 +53,10 @@ def compress_outputs(): # Remove source files if destination_file_path.exists(): + logger.info(f"crazy: {destination_file_path.exists()} {destination_file_path.as_posix()!r}.") logger.info(f"{source_file_path.name!r} copied to {destination_file_path.as_posix()!r}.") logger.info(f"Removing {source_file_path.as_posix()!r}") - source_file_path.unlink() + #source_file_path.unlink() if __name__ == "__main__": -- GitLab