From 0d6c041d030057f3787a4358330d264bcbd3bd66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sophia=20M=C3=A4dler?= <15019107+sophiamaedler@users.noreply.github.com> Date: Sun, 28 Apr 2024 14:57:26 +0200 Subject: [PATCH] remove TEMP_DIR_NAME in filter_segmentation file --- src/sparcscore/pipeline/filter_segmentation.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/sparcscore/pipeline/filter_segmentation.py b/src/sparcscore/pipeline/filter_segmentation.py index 8d42a70..e1343b0 100644 --- a/src/sparcscore/pipeline/filter_segmentation.py +++ b/src/sparcscore/pipeline/filter_segmentation.py @@ -120,12 +120,8 @@ def call_as_tile(self): self.log(f"Writing out window location to file at {self.directory}/window.csv") with open(f"{self.directory}/window.csv", "w") as f: f.write(f"{self.window}\n") - self.log(f"Filtering of tile with the slicing {self.window} finished.") - #delete generate temp directory to cleanup space - shutil.rmtree(TEMP_DIR_NAME, ignore_errors=True) - def get_output(self): return os.path.join(self.directory, self.DEFAULT_OUTPUT_FILE)