Changeset 14158 for fact/tools/pyscripts/pyfact/pyfact.py
- Timestamp:
- 06/12/12 06:09:27 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fact/tools/pyscripts/pyfact/pyfact.py
r14118 r14158 598 598 #check if colname is in columns: 599 599 if col_name not in columns: 600 error_msg = 'colname:'+ input_str+' is not a column in the binary table.\n'600 error_msg = 'colname:'+ col_name +' is not a column in the binary table.\n' 601 601 error_msg+= 'possible colnames are\n' 602 602 for key in columns: 603 error_msg += key+' \n'603 error_msg += key+' ' 604 604 raise KeyError(error_msg) 605 605 else: 606 self._register( input_str)606 self._register(col_name) 607 607 608 608 # 'private' method, do not use
Note:
See TracChangeset
for help on using the changeset viewer.