From 92513c238a78fd90a7225381343b973f8b813ea1 Mon Sep 17 00:00:00 2001
From: Jan David Mol <mol@astron.nl>
Date: Thu, 17 Apr 2025 07:23:13 +0200
Subject: [PATCH] black

---
 .../toolkit/generate_caltable_from_lofar1.py         | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/tangostationcontrol/toolkit/generate_caltable_from_lofar1.py b/tangostationcontrol/toolkit/generate_caltable_from_lofar1.py
index 473b4e2bc..fa58d9368 100755
--- a/tangostationcontrol/toolkit/generate_caltable_from_lofar1.py
+++ b/tangostationcontrol/toolkit/generate_caltable_from_lofar1.py
@@ -81,12 +81,12 @@ class LOFAR2CalTables:
                 calvalues_y = lofar1_caltable_data[:, antenna_nr * 2 + 1]
 
                 # validate
-                assert len(calvalues_x) == 512, (
-                    "Expected calibration values for 512 subbands"
-                )
-                assert len(calvalues_y) == 512, (
-                    "Expected calibration values for 512 subbands"
-                )
+                assert (
+                    len(calvalues_x) == 512
+                ), "Expected calibration values for 512 subbands"
+                assert (
+                    len(calvalues_y) == 512
+                ), "Expected calibration values for 512 subbands"
 
                 # write to LOFAR2
                 table.antennas[f"{antenna_name_prefix}{antenna_nr:02}"] = (
-- 
GitLab