Remove unnecessary exception catching.
Fixes https://github.com/jensengroup/propka-3.1/pull/36#discussion_r429063049
This commit is contained in:
@@ -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)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user