Changeset 522
- Timestamp:
- 03/01/05 09:10:55 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/asaplinefind.py
r516 r522 79 79 if not scan: 80 80 raise RuntimeError, 'Please give a correct scan' 81 82 if isinstance(edge,int): 83 edge=(edge,) 84 81 85 from asap import _is_sequence_or_number as _is_valid 82 86 83 87 if not _is_valid(edge, int): 84 raise RuntimeError, "Parameter 'edge' as to be an integer or \85 a pair of integers "88 raise RuntimeError, "Parameter 'edge' has to be an integer or \ 89 a pair of integers specified as a tuple" 86 90 87 91 if len(edge)>2:
Note:
See TracChangeset
for help on using the changeset viewer.