Change logging message to error.
Fixes https://github.com/jensengroup/propka/pull/109#discussion_r532735233 based on suggestion from @orbeckst.
This commit is contained in:
@@ -163,20 +163,20 @@ class LigandPkaValues:
|
|||||||
[self.cxcalc, filename]+options.split(), stdout=subprocess.PIPE,
|
[self.cxcalc, filename]+options.split(), stdout=subprocess.PIPE,
|
||||||
stderr=subprocess.PIPE).communicate()
|
stderr=subprocess.PIPE).communicate()
|
||||||
if len(errors) > 0:
|
if len(errors) > 0:
|
||||||
_LOGGER.info(
|
_LOGGER.error(
|
||||||
'***********************************************************'
|
'***********************************************************'
|
||||||
'*********************************************')
|
'*********************************************')
|
||||||
_LOGGER.info(
|
_LOGGER.error(
|
||||||
'* Warning: Marvin execution failed: '
|
'* Error: Marvin execution failed: '
|
||||||
' *')
|
' *')
|
||||||
_LOGGER.info('* {0:<100s} *'.format(errors))
|
_LOGGER.error('* {0:<100s} *'.format(errors))
|
||||||
_LOGGER.info(
|
_LOGGER.error(
|
||||||
'* '
|
'* '
|
||||||
' *')
|
' *')
|
||||||
_LOGGER.info(
|
_LOGGER.error(
|
||||||
'* Please edit the ligand mol2 file and re-run PropKa with '
|
'* Please edit the ligand mol2 file and re-run PropKa with '
|
||||||
'the -l option: {0:>29s} *'.format(filename))
|
'the -l option: {0:>29s} *'.format(filename))
|
||||||
_LOGGER.info(
|
_LOGGER.error(
|
||||||
'***********************************************************'
|
'***********************************************************'
|
||||||
'*********************************************')
|
'*********************************************')
|
||||||
sys.exit(-1)
|
sys.exit(-1)
|
||||||
|
|||||||
Reference in New Issue
Block a user