Changeset 1639 for branches/alma/python
- Timestamp:
- 09/30/09 17:56:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/alma/python/selector.py
r1603 r1639 147 147 """ 148 148 self._setorder(order) 149 150 def set_rows(self, rows=[]): 151 """ 152 Set a sequence of row numbers (0-based). Power users Only! 153 NOTICE row numbers can be changed easily by sorting, 154 prior selection, etc. 155 Parameters: 156 rows: a list of integers. Default [] is to unset the selection. 157 """ 158 vec = _to_list(rows, int) 159 if isinstance(vec,list): 160 self._setrows(vec) 161 else: 162 raise TypeError('Unknown row number type. Use lists of integers.') 149 163 150 164 def get_scans(self):
Note:
See TracChangeset
for help on using the changeset viewer.