diff --git a/src/qibolab/_core/instruments/qblox/validate.py b/src/qibolab/_core/instruments/qblox/validate.py index 5aea9cfae..9c982607d 100644 --- a/src/qibolab/_core/instruments/qblox/validate.py +++ b/src/qibolab/_core/instruments/qblox/validate.py @@ -13,6 +13,6 @@ def assert_channels_exclusion(ps: PulseSequence, excluded: set[ChannelId]): An extended discussion about the probe-acquisition merge is found at: https://github.com/qiboteam/qibolab/pull/1088#issuecomment-2637800857 """ - assert not any( - ch in excluded for ch, _ in ps - ), "Probe channels can not be controlled independently, please use Readout events." + assert not any(ch in excluded for ch, _ in ps), ( + "Probe channels can not be controlled independently, please use Readout events." + )