Skip to content

Commit

Permalink
small updates
Browse files Browse the repository at this point in the history
  • Loading branch information
leoglonz committed Jan 8, 2025
1 parent 8b901ca commit fdc6f4b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -167,5 +167,8 @@ src/hydroDL2/_version.py

# Other
*sacsma*
validation/
archive/
*prms*
archive/
runs/
results/
validation/
6 changes: 6 additions & 0 deletions src/hydroDL2/core/utils/clean_temp.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh

# Recursively remove all cache files (.pyc, __pycache__/) in the working dir.
# Usage: sh path/to/clean_temp.sh

find . | grep -E "(__pycache__|\.pyc$)" | xargs rm -rf

0 comments on commit fdc6f4b

Please sign in to comment.