From 547e97fef2d3919a94fe13b71e8436c498c6ff7b Mon Sep 17 00:00:00 2001
From: Erik Kooistra <kooistra@astron.nl>
Date: Fri, 27 Jul 2018 12:55:06 +0000
Subject: [PATCH] Corrected tpFail into atpFail, because it is about the TP
 auto correlations.

---
 .../apertif/commissioning/tests/verify_correlator_db_output.py  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/applications/apertif/commissioning/tests/verify_correlator_db_output.py b/applications/apertif/commissioning/tests/verify_correlator_db_output.py
index f6c4306ade..71e9f272c0 100644
--- a/applications/apertif/commissioning/tests/verify_correlator_db_output.py
+++ b/applications/apertif/commissioning/tests/verify_correlator_db_output.py
@@ -339,7 +339,7 @@ for bui in beamlets:
             if len(atpFail)==0:
                 tc.append_log(tc.V_INFO_DETAILS, reportStr + 'Auto correlation for TP = %s : polarizations = %s and dishes = %s are OK' % (nonZeroTp, nonZeroPolarizations, nonZeroDishes))
             else:
-                tc.append_log(tc.V_ERRORS, reportStr + 'Auto correlation for TP = %s : polarizations = %s and dishes = %s are wrong' % (atpFail, apr.tp_to_pol_indices(tpFail), apr.tp_to_pol_indices(tpFail)))
+                tc.append_log(tc.V_ERRORS, reportStr + 'Auto correlation for TP = %s : polarizations = %s and dishes = %s are wrong' % (atpFail, apr.tp_to_pol_indices(atpFail), apr.tp_to_pol_indices(atpFail)))
                 tc.set_result('FAILED')
 
 
-- 
GitLab