Changeset 2789 for trunk/src/Scantable.cpp
- Timestamp:
- 03/14/13 16:22:24 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/Scantable.cpp
r2774 r2789 5194 5194 5195 5195 5196 void Scantable::dropXPol() 5197 { 5198 if (npol() <= 2) { 5199 return; 5200 } 5201 if (!selector_.empty()) { 5202 throw AipsError("Can only operate with empty selection"); 5203 } 5204 std::string taql = "SELECT FROM $1 WHERE POLNO IN [0,1]"; 5205 Table tab = tableCommand(taql, table_); 5206 table_ = tab; 5207 table_.rwKeywordSet().define("nPol", Int(2)); 5208 originalTable_ = table_; 5209 attach(); 5210 } 5211 5196 5212 } 5197 5213 //namespace asap
Note: See TracChangeset
for help on using the changeset viewer.