Skip to content

Commit

Permalink
ignore backups from the new S3 collection
Browse files Browse the repository at this point in the history
  • Loading branch information
FynnBe committed Apr 30, 2024
1 parent 54c9774 commit 5e44317
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/update_external_resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,9 @@ def update_from_zenodo(
break

for hit in hits:
if "backup.bioimage.io" in hit["metadata"]["keywords"]:
continue # ignoring backups from the new S3 collection

resource_doi: str = hit["conceptdoi"]
doi: str = hit["doi"] # "version" doi
created = datetime.fromisoformat(hit["created"]).replace(tzinfo=None)
Expand Down

0 comments on commit 5e44317

Please sign in to comment.