Skip to content
Snippets Groups Projects
Commit 01eca901 authored by Andrew Waterhouse's avatar Andrew Waterhouse
Browse files

Replace all subprocess wait with run

parent 51225d1b
Branches
Tags
No related merge requests found
......@@ -55,8 +55,8 @@ def _ExecuteDSSP(path, dssp_bin, temp_dir=None):
if not os.access(dssp_abs_path, os.X_OK):
raise RuntimeError('"%s" is not executable' % dssp_abs_path)
ps=subprocess.Popen([dssp_abs_path, path, temp_dssp_path])
ps.wait()
subprocess.run([dssp_abs_path, path, temp_dssp_path])
return temp_dssp_path
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment