diff --git a/CEP/DP3/DPPP/src/MSReader.cc b/CEP/DP3/DPPP/src/MSReader.cc index c08098b2581938e7ab810d8ed89761814f13bb63..ec129366c0dc7e4a60d18868d090ffc049a95cb1 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();