From cd6279d555ad8f78effcebccdbdcd50aba6e65fb Mon Sep 17 00:00:00 2001 From: stedif <stefano.difrischia@inaf.it> Date: Wed, 26 Jan 2022 11:33:10 +0100 Subject: [PATCH] L2SS-480: fix typo --- tangostationcontrol/tangostationcontrol/devices/beam.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tangostationcontrol/tangostationcontrol/devices/beam.py b/tangostationcontrol/tangostationcontrol/devices/beam.py index a44114c2b..1d879d0eb 100644 --- a/tangostationcontrol/tangostationcontrol/devices/beam.py +++ b/tangostationcontrol/tangostationcontrol/devices/beam.py @@ -128,9 +128,9 @@ class Beam(lofar_device): # Only the entries within the mask have been updated mask = self.recv_proxy.Ant_mask_RW.flatten() for rcu in range(96): - if mask[tile]: - self._hbat_pointing_direction[tile] = pointing_direction[tile] - self._hbat_pointing_timestamp[tile] = timestamp + if mask[rcu]: + self._hbat_pointing_direction[rcu] = pointing_direction[rcu] + self._hbat_pointing_timestamp[rcu] = timestamp # -------- # Commands -- GitLab