schrodinger / coordgenlibs

Schrodinger-developed 2D Coordinate Generation
BSD 3-Clause "New" or "Revised" License
42 stars 28 forks source link

Avoid traceback with no bonds in a structure. #70

Closed d-b-w closed 4 years ago

d-b-w commented 4 years ago

This should never happen in a template? But it came up in some test molecules, so I'm adding the check.

(I wrote a little test executable that ran coordgen after reading some structures. Some test structure that I ran across had no bonds)