Make PROPKA input file generation optional.
Fixes https://github.com/jensengroup/propka-3.1/issues/51.
This commit is contained in:
@@ -78,6 +78,8 @@ def run_propka(options, pdb_path, tmp_path):
|
||||
molecule = read_molecule_file(str(pdb_path), molecule)
|
||||
molecule.calculate_pka()
|
||||
molecule.write_pka()
|
||||
if args.generate_propka_input:
|
||||
molecule.write_propka()
|
||||
finally:
|
||||
os.chdir(cwd)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user