Skip to content

Commit

Permalink
Merge pull request #8 from hcs-t4sg/holden/metadata-to-id
Browse files Browse the repository at this point in the history
Extracts model ID from metadata prints to console
  • Loading branch information
AC-Dap authored Oct 12, 2023
2 parents 2994463 + b58093a commit f44f22d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ersilia/core/tracking.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ def track(self, input, result, meta):

print("Model metadata:", meta)

model_id = meta["metadata"].get("Identifier", "Unknown")
print("Model ID:", model_id)

time = datetime.now() - self.time_start
print("Time taken:", time)

Expand Down

0 comments on commit f44f22d

Please sign in to comment.