- Timestamp:
- 03/01/12 01:30:42 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/STGrid.cpp
r2414 r2418 1159 1159 { 1160 1160 LogIO os( LogOrigin("STGrid","selectData",WHERE) ) ; 1161 Int ifno = ifno_ ;1161 //Int ifno = ifno_ ; 1162 1162 tableList_.resize( nfile_ ) ; 1163 if ( ifno == -1 ) {1163 if ( ifno_ == -1 ) { 1164 1164 Table taborg( infileList_[0] ) ; 1165 1165 ROScalarColumn<uInt> ifnoCol( taborg, "IFNO" ) ; 1166 ifno = ifnoCol( 0 ) ;1166 ifno_ = ifnoCol( 0 ) ; 1167 1167 os << LogIO::WARN 1168 << "IFNO is not given. Using default IFNO: " << ifno << LogIO::POST ;1168 << "IFNO is not given. Using default IFNO: " << ifno_ << LogIO::POST ; 1169 1169 } 1170 1170 for ( uInt i = 0 ; i < nfile_ ; i++ ) { … … 1173 1173 if ( isMultiIF( taborg ) ) { 1174 1174 os << "apply selection on IFNO" << LogIO::POST ; 1175 node = taborg.col("IFNO") == ifno ;1175 node = taborg.col("IFNO") == ifno_ ; 1176 1176 } 1177 1177 if ( scanlist_.size() > 0 ) { … … 1188 1188 if ( tableList_[i].nrow() == 0 ) { 1189 1189 os << LogIO::SEVERE 1190 << "No corresponding rows for given selection: IFNO " << ifno ;1190 << "No corresponding rows for given selection: IFNO " << ifno_ ; 1191 1191 if ( scanlist_.size() > 0 ) 1192 1192 os << " SCANNO " << scanlist_ ;
Note:
See TracChangeset
for help on using the changeset viewer.