Changeset 2846


Ignore:
Timestamp:
08/28/13 14:09:18 (11 years ago)
Author:
Kana Sugimoto
Message:

New Development: No

JIRA Issue: No

Ready for Test: Yes

Interface Changes: No

What Interface Changed:

Test Programs:

asap.rcParamsscantable.storage = 'disk'
scan = asap.scantable(SOME_SCANTABLE, average=True)
scan.save('test.asap')
# make sure sub-tables of test.asap are not empty.

Put in Release Notes: No

Module(s): asap.scantable

Description: Reverted a change in r2819. It caused an issue when the scantable storage is set to disk and averaging scantable. The subtables of averaged scantable were empty except for HISTORY table.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/Scantable.cpp

    r2837 r2846  
    192192  table_.tableInfo().setType( "Scantable" ) ;
    193193  /// @todo reindex SCANNO, recompute nbeam, nif, npol
    194   if ( !clear ) copySubtables(other);
     194  if ( clear ) copySubtables(other);
    195195  attachSubtables();
    196196  originalTable_ = table_;
Note: See TracChangeset for help on using the changeset viewer.