Changeset 2366 for trunk


Ignore:
Timestamp:
12/12/11 17:54:51 (13 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: No

Ready for Test: Yes

Interface Changes: No

What Interface Changed:

Test Programs: run splitant with outprefix containing white space

Put in Release Notes: Yes/No

Module(s): Module Names change impacts.

Description: Describe your changes here...

Bug fix for asapmath.splitant.
Correctly handle file path containing white space.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/asapmath.py

    r2348 r2366  
    988988    tb.open(tablename=filename,nomodify=True)
    989989    ant1=tb.getcol('ANTENNA1',0,-1,1)
    990     anttab=tb.getkeyword('ANTENNA').split()[-1]
     990    #anttab=tb.getkeyword('ANTENNA').split()[-1]
     991    anttab=tb.getkeyword('ANTENNA').lstrip('Table: ')
    991992    tb.close()
    992993    #tb.open(tablename=filename+'/ANTENNA',nomodify=True)
Note: See TracChangeset for help on using the changeset viewer.