From cc43b2f6abede7d6aa887df9df890430bd2417de Mon Sep 17 00:00:00 2001 From: Dean Poulos Date: Mon, 29 Apr 2024 03:15:32 +1000 Subject: [PATCH] Fix formatting error. --- qualang_tools/macros/long_wait.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/qualang_tools/macros/long_wait.py b/qualang_tools/macros/long_wait.py index d2211786..e8831e04 100644 --- a/qualang_tools/macros/long_wait.py +++ b/qualang_tools/macros/long_wait.py @@ -8,8 +8,11 @@ MAX_WAIT = 2**31 - 1 # units of clock cycles (4ns) -def long_wait(wait_time: Union[int, np.integer], *elements: str, - threshold_for_looping: int = unit(coerce_to_integer=True).to_clock_cycles(1_000_000)): +def long_wait( + wait_time: Union[int, np.integer], + *elements: str, + threshold_for_looping: int = unit(coerce_to_integer=True).to_clock_cycles(1_000_000), +): """Perform a QUA wait command for longer than the current maximum wait time, 2^31-1. This macro unrolls into QUA for-loop of smaller waits if the maximum wait time is exceeded in `wait_time`.