Mercurial > repos > bgruening > openbabel_remove_protonation_state
diff cheminfolib.py @ 12:e946a539ddf7 draft
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/openbabel commit 944ea4bb8a9cd4244152a4a4fecd0485fabc2ad0"
author | bgruening |
---|---|
date | Tue, 28 Jul 2020 12:03:54 +0000 |
parents | 6f511affb852 |
children | ad98596cf471 |
line wrap: on
line diff
--- a/cheminfolib.py Thu Apr 09 13:57:13 2020 +0000 +++ b/cheminfolib.py Tue Jul 28 12:03:54 2020 +0000 @@ -13,8 +13,8 @@ print('psycopg2 is not available. It is currently used in the pgchem wrappers, that are not shipped with default CTB') try: - import pybel - import openbabel + from openbabel import openbabel, pybel + openbabel.obErrorLog.StopLogging() except: print('OpenBabel could not be found. A few functions are not available without OpenBabel.')