From 8b5f38af0e8f7060751a413c56c6b3c97be023d9 Mon Sep 17 00:00:00 2001 From: Paul Nation Date: Fri, 20 Sep 2024 14:58:54 -0400 Subject: [PATCH] move timestamp --- mthree/mitigation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mthree/mitigation.py b/mthree/mitigation.py index 92a9bf77..266d2b28 100644 --- a/mthree/mitigation.py +++ b/mthree/mitigation.py @@ -892,9 +892,9 @@ def _job_thread(jobs, mit, qubits, num_cal_qubits, cal_strings): counts.extend(_counts) else: counts.append(_counts) + # attach timestamp + timestamp = job.metrics()["timestamps"]["running"] logger.info("All jobs are done.") - # attach timestamp - timestamp = job.metrics()["timestamps"]["running"] # Timestamp can be None if timestamp is None: timestamp = datetime.datetime.now()