mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-07-27 23:47:46 +00:00
fix: bug fix in timer start (#807)
This commit is contained in:
@@ -106,7 +106,7 @@ class LoopBase:
|
||||
`None` indicates to run forever until error or KeyboardInterrupt
|
||||
"""
|
||||
|
||||
if all_duration is not None and not self.timer:
|
||||
if all_duration is not None and not self.timer.started:
|
||||
self.timer.reset(all_duration=all_duration)
|
||||
|
||||
with tqdm(total=len(self.steps), desc="Workflow Progress", unit="step") as pbar:
|
||||
|
||||
Reference in New Issue
Block a user