Skip to content

Commit

Permalink
remove TEMP_DIR_NAME in filter_segmentation file
Browse files Browse the repository at this point in the history
  • Loading branch information
sophiamaedler committed Apr 28, 2024
1 parent 3369cdb commit 0d6c041
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/sparcscore/pipeline/filter_segmentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 0d6c041

Please sign in to comment.