Skip to content

Commit

Permalink
refactor: clean tile processing in depth_maps_to_dsm
Browse files Browse the repository at this point in the history
  • Loading branch information
Cédric Traizet committed Sep 20, 2024
1 parent 1bcfd2c commit 58e6d9c
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -618,3 +618,12 @@ def run(self):
color_dtype=color_type,
dump_dir=rasterization_dump_dir,
)

# Cleaning: delete everything in tile_processing if
# save_intermediate_data is not activated
if not self.advanced[adv_cst.SAVE_INTERMEDIATE_DATA]:
cars_orchestrator.add_to_clean(
os.path.join(
cars_orchestrator.out_dir, "dump_dir", "tile_processing"
)
)

0 comments on commit 58e6d9c

Please sign in to comment.