Skip to content

Commit

Permalink
Improve logging, remove runs for image only PRs (#537)
Browse files Browse the repository at this point in the history
  • Loading branch information
Phaeton authored Aug 14, 2024
1 parent 1bb8bad commit 38fc127
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/check_categories.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
- "plane-alert-db.csv"
- "plane-alert-pia.csv"
- "plane-alert-ukraine.csv"
- "plane_images.csv"

jobs:
checkCategories:
Expand Down
6 changes: 4 additions & 2 deletions scripts/export_categories.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@
.reset_index(drop=True)
)
logging.info(f"Total Categories Count: ({category_unique_df.shape[0]}).")

logging.info("Creating the plane-alert-categories.csv file.")

category_unique_df.to_csv(
"plane-alert-categories.csv",
mode="wb",
index=False,
header=True,
encoding="utf8",
lineterminator="\n",
)
)
logging.info("File created successfully!")

0 comments on commit 38fc127

Please sign in to comment.