Changeset 2030


Ignore:
Timestamp:
03/04/11 14:09:52 (13 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: Yes CAS-2815 (Trac #236)

Ready for Test: Yes

Interface Changes: No

What Interface Changed: Please list interface changes

Test Programs: List test programs

Put in Release Notes: Yes/No?

Module(s): Module Names change impacts.

Description: Describe your changes here...

Commented out workaround in Scantable::makePersistent() since
essential bug in casacore is fixed (r20889 in google code).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/Scantable.cpp

    r2012 r2030  
    524524  /// @todo reindex SCANNO, recompute nbeam, nif, npol
    525525  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//   }
    536540}
    537541
Note: See TracChangeset for help on using the changeset viewer.