Ignore:
Timestamp:
06/12/12 06:09:27 (12 years ago)
Author:
neise
Message:
SlowData.register() had a bug, input_str was not renamed everywhere to col_name
File:
1 edited

Legend:

Unmodified
Added
Removed
  • fact/tools/pyscripts/pyfact/pyfact.py

    r14118 r14158  
    598598            #check if colname is in columns:
    599599            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'
    601601                error_msg+= 'possible colnames are\n'
    602602                for key in columns:
    603                     error_msg += key+'\n'
     603                    error_msg += key+'    '
    604604                raise KeyError(error_msg)
    605605            else:
    606                 self._register(input_str)
     606                self._register(col_name)
    607607
    608608    # 'private' method, do not use
Note: See TracChangeset for help on using the changeset viewer.