From a83b2bde06daad528cc7f23224ae167a818fc672 Mon Sep 17 00:00:00 2001
From: Jan David Mol <mol@astron.nl>
Date: Wed, 20 Mar 2024 11:19:59 +0100
Subject: [PATCH] Fix typo in XST observation settings

---
 README.md                                                       | 1 +
 .../configuration/observation_field_settings.py                 | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 9dc7c53a6..66cf287c5 100644
--- a/README.md
+++ b/README.md
@@ -166,6 +166,7 @@ Next change the version in the following places:
 
 # Release Notes
 
+* 0.30.2-2 Fix typo in parsing XST observation settings
 * 0.30.2 Add XST/SST settings to Observation specifications
          Fixed dimensionality of xst.FPGA_subband_select_R(W)
 * 0.30.1 Remove deprecated FPGA_beamlet_output_nof_beamlets
diff --git a/tangostationcontrol/tangostationcontrol/configuration/observation_field_settings.py b/tangostationcontrol/tangostationcontrol/configuration/observation_field_settings.py
index 51349377d..8988fa8c5 100644
--- a/tangostationcontrol/tangostationcontrol/configuration/observation_field_settings.py
+++ b/tangostationcontrol/tangostationcontrol/configuration/observation_field_settings.py
@@ -77,7 +77,7 @@ class ObservationFieldSettings(_ConfigurationBase):
         if self.SST is not None:
             yield "SST", dict(self.SST)
         if self.XST is not None:
-            yield "SST", dict(self.XST)
+            yield "XST", dict(self.XST)
 
     @staticmethod
     def to_object(json_dct) -> "ObservationFieldSettings":
-- 
GitLab