Changeset 1046 for branches/Release2.0/python
- Timestamp:
- 04/28/06 11:41:23 (19 years ago)
- Location:
- branches/Release2.0/python
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Release2.0/python/__init__.py
r1035 r1046 307 307 308 308 __date__ = '$Date$'.split()[1] 309 __version__ = '2.0 b'309 __version__ = '2.0' 310 310 311 311 if rcParams['verbose']: -
branches/Release2.0/python/selector.py
r963 r1046 38 38 """ 39 39 vec = _to_list(pols, str) or _to_list(pols, int) 40 if vec: # is an empty and/or valid vector40 if isinstance(vec, list): # is an empty and/or valid vector 41 41 if len(vec) and isinstance(vec[-1],str): 42 42 self._setpolstrings(vec) … … 53 53 """ 54 54 vec = _to_list(ifs, int) 55 if vec:55 if isinstance(vec,list): 56 56 self._setifs(vec) 57 57 else: … … 65 65 """ 66 66 vec = _to_list(scans, int) 67 if vec:67 if isinstance(vec,list): 68 68 self._setscans(vec) 69 69 else: … … 77 77 """ 78 78 vec = _to_list(beams, int) 79 if vec:79 if isinstance(vec,list): 80 80 self._setbeams(vec) 81 81 else: … … 89 89 """ 90 90 vec = _to_list(cycles, int) 91 if vec:91 if isinstance(vec,list): 92 92 self._setcycles(vec) 93 93 else: … … 139 139 Set the order the scantable should be sorted by. 140 140 Parameters: 141 order: The list of column n maes to sort by in order141 order: The list of column names to sort by in order 142 142 """ 143 143 self._setorder(order)
Note:
See TracChangeset
for help on using the changeset viewer.