choderalab / openmoltools

An open set of tools for automating tasks relating to small molecules
MIT License
64 stars 30 forks source link

Better way to select between legacy OEAssignPartialCharges and OEAssignCharges #270

Open jchodera opened 6 years ago

jchodera commented 6 years ago

Currently, openmoltools.openeye.get_charges() requires the legacy optional flag be set to choose between new- and old-style openeye charge assignment schemes: https://github.com/choderalab/openmoltools/blob/master/openmoltools/openeye.py#L69-L76

Can we instead autodetect which version is installed, or even remove support for legacy OpenEye toolkits?