Remove unnecessary exception catching.

Fixes https://github.com/jensengroup/propka-3.1/pull/36#discussion_r429063049
This commit is contained in:
Nathan Baker
2020-05-23 08:06:54 -07:00
parent 6288711209
commit 1b0ad999b1

View File

@@ -69,8 +69,6 @@ def run_propka(options, pdb_path, tmp_path):
molecule = propka.molecular_container.Molecular_container(str(pdb_path), args) molecule = propka.molecular_container.Molecular_container(str(pdb_path), args)
molecule.calculate_pka() molecule.calculate_pka()
molecule.write_pka() molecule.write_pka()
except Exception as err:
raise err
finally: finally:
os.chdir(cwd) os.chdir(cwd)