patrickfuller / imolecule

An embeddable webGL molecule viewer and file format converter.
http://patrickfuller.github.io/imolecule/
MIT License
86 stars 18 forks source link

Added openbabel >= 3.0.0 support in format_converter #35

Closed zuranski closed 4 years ago

zuranski commented 4 years ago

OBElementTable is no longer a class in openbabel > 3.0, but a namespace, so it can be accessed directly. I made some adaptations to format_converter to support openbabel > 3.0.

patrickfuller commented 4 years ago

Thanks for the PR! I'll merge and update.