From bae7e11c6fe938962d1020c61087dc20cfbbd375 Mon Sep 17 00:00:00 2001 From: "Keith T. Star" Date: Wed, 18 Nov 2015 06:10:47 -0800 Subject: [PATCH] Per issue #372, I changed the error message that is displayed when pdb2pka is missing the APBS python library to instruct the user how to build said library. --- pdb2pqr/pdb2pka/apbs.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pdb2pqr/pdb2pka/apbs.py b/pdb2pqr/pdb2pka/apbs.py index c55b2caf6b..005909cc09 100644 --- a/pdb2pqr/pdb2pka/apbs.py +++ b/pdb2pqr/pdb2pka/apbs.py @@ -18,13 +18,12 @@ from apbslib import * except: # - # We need apbslib.so, apbslib.so and apbslib.py + # We need _apbslib.so and apbslib.py # print print 'Missing libraries for interfacing with APBS' print - print 'You need to find _apbslib.so and apbslib.py and symlink into the pdb2pqr/pdb2pka source code directory' - print 'The files can be found in the share/tools/python dir of your apbs installation' + print 'You need to build APBS with Python support using the CMake variable -DENABLE_PYTHON=ON.' print sys.exit(0)