Skip to content

Commit

Permalink
fix: bug in evaluator name
Browse files Browse the repository at this point in the history
  • Loading branch information
dbirman committed Dec 3, 2024
1 parent 0957f76 commit 0628f70
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/aind_qc_portal/panel/metric.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,13 @@ def _set_status(self, status: Status | str):

if self.state_selector:
self.state_selector.value = status.value

given_name = pn.state.user_info.get("given_name", "")
family_name = pn.state.user_info.get("family_name", "")

self._data.status_history.append(
QCStatus(
evaluator=f"{pn.state.user_info.get("given_name", "")} {pn.state.user_info.get("family_name", "")}",
evaluator=f"{given_name} {family_name}",
status=status,
timestamp=datetime.now(),
)
Expand Down

0 comments on commit 0628f70

Please sign in to comment.