UCLOrengoGroup / cath-tools

Protein structure comparison tools such as SSAP and SNAP
http://cath-tools.readthedocs.io
GNU General Public License v3.0
59 stars 14 forks source link

Exception: Angle value must be finite #7

Closed sillitoe closed 8 years ago

sillitoe commented 8 years ago

When running:

./cath-ssap --dssp-path /cath/data/current/dssp/ --pdb-path /cath/data/current/pdb --sec-path /cath/data/current/sec 2zbjA00 1cn1A00

Returns a few warnings about overlaps in the SS assignments, then the exception "Angle value must be finite":

Note: This was tested on the latest executable (Compile time: Mar 14 2016 17:59:17). I tested this on a previous executable (Compile time: Jan 20 2015 16:17:35) - it reports the warnings, but doesn't throw an exception.

Full stack trace:

2016-03-15 11:22:38.304321 [cath-ssap|warning] Secondary structure starts at residue number 92, which overlaps with the end of the previous secondary structure at residue number 92 for protein 2zbjA00 - will use the previous secondary structure to label residue(s) within overlapping region.
2016-03-15 11:22:38.304370 [cath-ssap|warning] Secondary structure starts at residue number 207, which overlaps with the end of the previous secondary structure at residue number 207 for protein 2zbjA00 - will use the previous secondary structure to label residue(s) within overlapping region.
Whilst running program ./cath-ssap (via a program_exception_wrapper with typeid: "N4cath30ssap_program_exception_wrapperE"), caught a boost::exception:
../source/structure/geometry/angle.h(134): Throw in function cath::geom::angle<double>::angle(const angle_type &) [T = double]
Dynamic exception type: boost::exception_detail::clone_impl<cath::common::invalid_argument_exception>
std::exception::what: Angle value must be finite