Ignore:
Timestamp:
04/28/06 11:41:23 (19 years ago)
Author:
mar637
Message:

merge from trunk

Location:
branches/Release2.0/python
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/Release2.0/python/__init__.py

    r1035 r1046  
    307307
    308308__date__ = '$Date$'.split()[1]
    309 __version__  = '2.0b'
     309__version__  = '2.0'
    310310
    311311if rcParams['verbose']:
  • branches/Release2.0/python/selector.py

    r963 r1046  
    3838        """
    3939        vec = _to_list(pols, str) or _to_list(pols, int)
    40         if vec: # is an empty and/or valid vector
     40        if isinstance(vec, list): # is an empty and/or valid vector
    4141            if len(vec) and isinstance(vec[-1],str):
    4242                self._setpolstrings(vec)
     
    5353        """
    5454        vec = _to_list(ifs, int)
    55         if vec:
     55        if isinstance(vec,list):
    5656            self._setifs(vec)
    5757        else:
     
    6565        """
    6666        vec = _to_list(scans, int)
    67         if vec:
     67        if isinstance(vec,list):
    6868            self._setscans(vec)
    6969        else:
     
    7777        """
    7878        vec = _to_list(beams, int)
    79         if vec:
     79        if isinstance(vec,list):
    8080            self._setbeams(vec)
    8181        else:
     
    8989        """
    9090        vec = _to_list(cycles, int)
    91         if vec:
     91        if isinstance(vec,list):
    9292            self._setcycles(vec)
    9393        else:
     
    139139        Set the order the scantable should be sorted by.
    140140        Parameters:
    141             order:    The list of column nmaes to sort by in order
     141            order:    The list of column names to sort by in order
    142142        """
    143143        self._setorder(order)
Note: See TracChangeset for help on using the changeset viewer.