Skip to content

Commit

Permalink
feat: cleanup function to remove output samples directory
Browse files Browse the repository at this point in the history
  • Loading branch information
nc1z committed Jul 22, 2023
1 parent f9743bd commit 7eecce6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions cleanup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import subprocess

def remove_output_parts_directory():
try:
subprocess.run(["rm", "-rf", "./output_samples"])
print("Successfully removed the output_samples directory.")
except Exception as e:
print(f"Error removing output_samples directory: {str(e)}")

remove_output_parts_directory()

0 comments on commit 7eecce6

Please sign in to comment.