From 1a3bcc37e22ff73e88a41573261e42ecfba1f586 Mon Sep 17 00:00:00 2001 From: Tammo Jan Dijkema <dijkema@astron.nl> Date: Wed, 26 Jul 2017 16:07:49 +0000 Subject: [PATCH] Task #11111: DPPP: read number of polarizations from user data column --- CEP/DP3/DPPP/src/MSReader.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CEP/DP3/DPPP/src/MSReader.cc b/CEP/DP3/DPPP/src/MSReader.cc index c08098b2581..ec129366c0d 100644 --- a/CEP/DP3/DPPP/src/MSReader.cc +++ b/CEP/DP3/DPPP/src/MSReader.cc @@ -512,7 +512,7 @@ namespace LOFAR { TableIterator::Ascending, TableIterator::NoSort); // Find the nr of corr, chan, and baseline. - IPosition shp (ROArrayColumn<Complex>(itsSelMS, "DATA").shape(0)); + IPosition shp (ROArrayColumn<Complex>(itsSelMS, itsDataColName).shape(0)); itsNrCorr = shp[0]; itsNrChan = shp[1]; itsNrBl = itsIter.table().nrow(); -- GitLab