Changeset 2034


Ignore:
Timestamp:
03/10/11 03:17:25 (13 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: execute sd.splitant('msname')

Put in Release Notes: Yes/No?

Module(s): Module Names change impacts.

Description: Describe your changes here...

Support for reference MS input that doesn't have own subtables.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/asapmath.py

    r1920 r2034  
    977977    # Now do the actual splitting.
    978978    outfiles=[]
    979     tb.open(tablename=filename+'/ANTENNA',nomodify=True)
     979    tb.open(tablename=filename,nomodify=True)
     980    ant1=tb.getcol('ANTENNA1',0,-1,1)
     981    anttab=tb.getkeyword('ANTENNA').split()[-1]
     982    tb.close()
     983    #tb.open(tablename=filename+'/ANTENNA',nomodify=True)
     984    tb.open(tablename=anttab,nomodify=True)
    980985    nant=tb.nrows()
    981986    antnames=tb.getcol('NAME',0,nant,1)
    982     tb.close()
    983     tb.open(tablename=filename,nomodify=True)
    984     ant1=tb.getcol('ANTENNA1',0,-1,1)
    985987    tb.close()
    986988    tmpname='asapmath.splitant.tmp'
Note: See TracChangeset for help on using the changeset viewer.