Skip to content

Commit

Permalink
Skip categorize files
Browse files Browse the repository at this point in the history
  • Loading branch information
tukiains committed Nov 21, 2024
1 parent 7de8475 commit e5cfc22
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/processing/dvas.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ def upload(self, file: dict):
if "geophysical" not in file["product"]["type"]:
logging.error("Skipping - only geophysical products supported for now")
return
if "categorize" in file["product"]["id"]:
logging.error("Skipping - categorize file")
return
if not file["site"]["dvasId"]:
logging.error("Skipping - not DVAS site")
return
Expand Down

0 comments on commit e5cfc22

Please sign in to comment.