From c08ea78ab84540288a26d98412398b4c76c04306 Mon Sep 17 00:00:00 2001
From: Jan David Mol <mol@astron.nl>
Date: Thu, 6 Mar 2025 15:25:28 +0000
Subject: [PATCH] Resolve L2SS-2020 "Add clock_RW to metadata statistics"

---
 README.md                                                   | 1 +
 tangostationcontrol/VERSION                                 | 2 +-
 tangostationcontrol/tangostationcontrol/devices/metadata.py | 1 +
 3 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 16278d964..9fe839d03 100644
--- a/README.md
+++ b/README.md
@@ -150,6 +150,7 @@ Next change the version in the following places:
    through [https://git.astron.nl/lofar2.0/tango/-/tags](Deploy Tags)
 
 # Release Notes
+* 0.46.1 Include clock_RW in metadata JSON
 * 0.46.0 Expose latest BST/SST/XST from ZMQ over gRPC
 * 0.45.12 Improve syslog parsing for PyPCC logs
 * 0.45.11 Add Antenna Status & Use gRPC interface
diff --git a/tangostationcontrol/VERSION b/tangostationcontrol/VERSION
index 301092317..620104d82 100644
--- a/tangostationcontrol/VERSION
+++ b/tangostationcontrol/VERSION
@@ -1 +1 @@
-0.46.0
+0.46.1
diff --git a/tangostationcontrol/tangostationcontrol/devices/metadata.py b/tangostationcontrol/tangostationcontrol/devices/metadata.py
index 87365a43e..05d1aae7f 100644
--- a/tangostationcontrol/tangostationcontrol/devices/metadata.py
+++ b/tangostationcontrol/tangostationcontrol/devices/metadata.py
@@ -154,6 +154,7 @@ class Metadata(LOFARDevice):
                 "FPGA_hardware_version_R",
                 "nr_signal_inputs_R",
                 "first_signal_input_index_R",
+                "clock_RW",
             ],
             "ObservationControl": ["running_observations_R", "active_antenna_fields_R"],
         }
-- 
GitLab