Skip to content

Commit

Permalink
add parameters_modified
Browse files Browse the repository at this point in the history
  • Loading branch information
nulinspiratie committed Nov 8, 2024
1 parent dea03bc commit b782f90
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,9 @@ def generate_config(self) -> None:
def update_parameters(self, parameters: Dict[str, Dict[str, Any]]) -> ModifiedFlags:
flags = ModifiedFlags.NONE
params = parameters[self.component_id]
self.result_type = params["result-type"]
if self.result_type != params["result-type"]:
self.result_type = params["result-type"]
flags |= ModifiedFlags.PARAMETERS_MODIFIED

flags |= self.scan_mode.update_parameters(parameters)
flags |= self.qua_inner_loop_action.update_parameters(parameters)
Expand Down

0 comments on commit b782f90

Please sign in to comment.