Skip to content

Commit

Permalink
Add output finalise
Browse files Browse the repository at this point in the history
  • Loading branch information
gmertes committed Jun 21, 2024
1 parent 5777942 commit 7a07b73
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ai_models/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,8 @@ def collect_archive_requests(self, written):
self.archiving[path].add(handle.as_mars())

def finalise(self):
self.output.finalise()

if self.archive_requests:
with open(self.archive_requests, "w") as f:
json_requests = []
Expand Down

0 comments on commit 7a07b73

Please sign in to comment.