diff --git a/src/qibolab/_core/instruments/qblox/sequence/sequence.py b/src/qibolab/_core/instruments/qblox/sequence/sequence.py index 825987e5f..8e449debe 100644 --- a/src/qibolab/_core/instruments/qblox/sequence/sequence.py +++ b/src/qibolab/_core/instruments/qblox/sequence/sequence.py @@ -64,7 +64,9 @@ def unwrap(pulse: PulseLike, output: bool) -> PulseLike: return ( pulse if not isinstance(pulse, Readout) - else pulse.probe if output else pulse.acquisition + else pulse.probe + if output + else pulse.acquisition ) def unwrap_seq(seq: PulseSequence, output: bool) -> PulseSequence: