Changeset 2336 for trunk


Ignore:
Timestamp:
10/17/11 19:55:13 (13 years ago)
Author:
Kana Sugimoto
Message:

New Development: No

JIRA Issue: No/Yes (ATNF-251)

Ready for Test: Yes

Interface Changes: No

What Interface Changed:

Test Programs: unit tests for the task sdscale (in CASA)

Put in Release Notes: No

Module(s):

Description: Fixed a bug in asapmath._array2dOp which caused outputting scantable with single row regardless of the input row number.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/asapmath.py

    r2320 r2336  
    10211021    mode:    operation mode (ADD, SUB, MUL, DIV)
    10221022    tsys:    if True, operate tsys as well
     1023    insitu:  if False, a new scantable is returned.
     1024             Otherwise, the array operation is done in-sitsu.
    10231025    """
    10241026    nrow = scan.nrow()
     
    10401042        stm._setinsitu( True )
    10411043        basesel = s.get_selection()
    1042         sel = selector()+basesel
     1044        # Make sure basesel comes first to create a new selector instance
     1045        sel = basesel+selector()
    10431046        for irow in range( nrow ):
    10441047            sel.set_rows( irow )
Note: See TracChangeset for help on using the changeset viewer.