Modernize print statements with str.format()

This commit is contained in:
Nathan Baker
2020-05-28 20:31:03 -07:00
parent ba67f5149d
commit 87347a7d60
5 changed files with 70 additions and 59 deletions

View File

@@ -34,7 +34,7 @@ def single(pdbfile, optargs=None):
options = loadOptions(*optargs)
pdbfile = options.filenames.pop(0)
if len(options.filenames) > 0:
_LOGGER.warning("Ignoring filenames: %s", options.filenames)
_LOGGER.warning("Ignoring filenames: {0:s}".format(options.filenames))
my_molecule = Molecular_container(pdbfile, options)
my_molecule.calculate_pka()
my_molecule.write_pka()