Changeset 2594 for trunk/python


Ignore:
Timestamp:
07/11/12 10:22:40 (12 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: No

Ready for Test: Yes

Interface Changes: No

What Interface Changed: Please list interface changes

Test Programs: sdgrid unit test with sd.rcParamsscantable.storage='memory'

Put in Release Notes: Yes/No

Module(s): Module Names change impacts.

Description: Describe your changes here...

Bug fix on STGrid2.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/asapgrid.py

    r2593 r2594  
    406406        Return gridded data as a scantable.
    407407        """
    408         return scantable( self.gridder._get(), average=False )
     408        tp = 0 if rcParams['scantable.storage']=='memory' else 1
     409        return scantable( self.gridder._get( tp ), average=False )
    409410
    410411class _SDGridPlotter:
Note: See TracChangeset for help on using the changeset viewer.