Changeset 2427 for trunk/python/scantable.py
- Timestamp:
- 03/08/12 16:57:56 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/scantable.py
r2411 r2427 1426 1426 if not (isinstance(mask,list) or isinstance(mask, tuple)): 1427 1427 raise TypeError("The mask should be list or tuple.") 1428 if len(mask) < 2:1429 raise TypeError("The mask elements should be > 1")1428 if len(mask) <= 0: 1429 raise TypeError("The mask elements should be > 0") 1430 1430 data = self._getabcissa(row) 1431 1431 if len(data) != len(mask): … … 1467 1467 if not (isinstance(mask,list) or isinstance(mask, tuple)): 1468 1468 raise TypeError("The mask should be list or tuple.") 1469 if len(mask) < 2:1470 raise TypeError("The mask elements should be > 1")1469 if len(mask) <= 0: 1470 raise TypeError("The mask elements should be > 0") 1471 1471 istart = [] 1472 1472 iend = []
Note: See TracChangeset
for help on using the changeset viewer.