Changeset 1986


Ignore:
Timestamp:
02/02/11 13:13:28 (14 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: List test programs

Put in Release Notes: Yes/No

Module(s): Module Names change impacts.

Description: Describe your changes here...

Bug fix on _check_ifs().


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/scantable.py

    r1950 r1986  
    26812681
    26822682    def _check_ifs(self):
    2683         nchans = [self.nchan(i) for i in range(self.nif(-1))]
    2684         nchans = filter(lambda t: t > 0, nchans)
     2683        #nchans = [self.nchan(i) for i in range(self.nif(-1))]
     2684        #nchans = filter(lambda t: t > 0, nchans)
     2685        nchans = [self.nchan(i) for i in self.getifnos()]
    26852686        return (sum(nchans)/len(nchans) == nchans[0])
    26862687
Note: See TracChangeset for help on using the changeset viewer.