Changeset 2910 for trunk


Ignore:
Timestamp:
03/26/14 20:42:31 (11 years ago)
Author:
WataruKawasaki
Message:

New Development: No

JIRA Issue: No

Ready for Test: Yes

Interface Changes: No

What Interface Changed:

Test Programs:

Put in Release Notes: No

Module(s): sd

Description: bug fix in sd.scantable.parse_spw_selection() to not include spws with empty channel range.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/scantable.py

    r2909 r2910  
    21382138                        crange_list.append([])
    21392139
    2140                 if res.has_key(spw):
    2141                     res[spw].extend(crange_list)
    2142                 else:
    2143                     res[spw] = crange_list
     2140                if (len(crange_list[0]) > 0):
     2141                    if res.has_key(spw):
     2142                        res[spw].extend(crange_list)
     2143                    else:
     2144                        res[spw] = crange_list
    21442145
    21452146        for spw in res.keys():
Note: See TracChangeset for help on using the changeset viewer.