[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [IMP-dev] set_print_exceptions



not according to imp docs:
"Set whether exception messages are printed or not.

C++ doesn't display the messages, so if you are not using python, you need to turn this on to understand errors."

On Mar 11, 2009, at 4:12 PM, Ben Webb wrote:

Keren Lasker wrote:
IMP.set_print_excpetions() does not exist anymore, at least in the swig interface - was the function renamed?

set_print_exceptions() exists, in the kernel (include/exception.h). It shouldn't be necessary for Python code, surely, since the SWIG wrappers catch any IMP C++ exceptions and convert them to Python exceptions (which will be printed anyway if you don't catch them).

Ben
--
                     http://salilab.org/~ben/
"It is a capital mistake to theorize before one has data."
- Sir Arthur Conan Doyle
_______________________________________________
IMP-dev mailing list
">
https://salilab.org/mailman/listinfo/imp-dev