- Timestamp:
- 03/04/11 14:09:52 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/Scantable.cpp
r2012 r2030 524 524 /// @todo reindex SCANNO, recompute nbeam, nif, npol 525 525 inname = path.expandedName(); 526 // WORKAROUND !!! for Table bug 527 // Remove when fixed in casacore 528 if ( table_.tableType() == Table::Memory && !selector_.empty() ) { 529 Table tab = table_.copyToMemoryTable(generateName()); 530 tab.deepCopy(inname, Table::New); 531 tab.markForDelete(); 532 533 } else { 534 table_.deepCopy(inname, Table::New); 535 } 526 // 2011/03/04 TN 527 // We can comment out this workaround since the essential bug is 528 // fixed in casacore (r20889 in google code). 529 table_.deepCopy(inname, Table::New); 530 // // WORKAROUND !!! for Table bug 531 // // Remove when fixed in casacore 532 // if ( table_.tableType() == Table::Memory && !selector_.empty() ) { 533 // Table tab = table_.copyToMemoryTable(generateName()); 534 // tab.deepCopy(inname, Table::New); 535 // tab.markForDelete(); 536 // 537 // } else { 538 // table_.deepCopy(inname, Table::New); 539 // } 536 540 } 537 541
Note:
See TracChangeset
for help on using the changeset viewer.