From 6bebe88759d96650a9fa973588cc0364d7ea73cb Mon Sep 17 00:00:00 2001 From: Serwan Asaad Date: Fri, 8 Nov 2024 13:57:13 +0100 Subject: [PATCH] fix bit operation --- .../video_mode/data_acquirers/opx_data_acquirer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qualang_tools/control_panel/video_mode/data_acquirers/opx_data_acquirer.py b/qualang_tools/control_panel/video_mode/data_acquirers/opx_data_acquirer.py index 67e944f0..1fc736d2 100644 --- a/qualang_tools/control_panel/video_mode/data_acquirers/opx_data_acquirer.py +++ b/qualang_tools/control_panel/video_mode/data_acquirers/opx_data_acquirer.py @@ -192,7 +192,7 @@ def update_parameters(self, parameters: Dict[str, Dict[str, Any]]) -> ModifiedFl flags = super().update_parameters(parameters) # Update program if any sweep axes have been modified if flags & ModifiedFlags.PARAMETERS_MODIFIED: - flags &= ModifiedFlags.PROGRAM_MODIFIED + flags |= ModifiedFlags.PROGRAM_MODIFIED params = parameters[self.component_id] if self.result_type != params["result-type"]: