Skip to content

Commit

Permalink
Add skip_if_not_found to archive move and remove
Browse files Browse the repository at this point in the history
  • Loading branch information
gmertes committed Jan 9, 2025
1 parent d62ccb5 commit 266a5f4
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/anemoi/registry/commands/experiments.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,15 @@ def _run(self, entry, args):
extras=args.archive_extra_metadata,
)
self.process_task(entry, args, "get_archive", run_number=args.run_number, platform=args.archive_platform)
self.process_task(entry, args, "remove_archive", run_number=args.run_number, platform=args.archive_platform)
self.process_task(entry, args, "archive_moved", run_number=args.run_number)
self.process_task(
entry,
args,
"remove_archive",
run_number=args.run_number,
platform=args.archive_platform,
_skip_if_not_found=True,
)
self.process_task(entry, args, "archive_moved", run_number=args.run_number, _skip_if_not_found=True)
if args.url:
print(entry.url)

Expand Down

0 comments on commit 266a5f4

Please sign in to comment.