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

Subprocess wait in deadlock averted

parent d5c9ab52
No related branches found
No related tags found
No related merge requests found
......@@ -129,8 +129,8 @@ def ClustalW(seq1, seq2=None, clustalw=None, keep_files=False, nopgap=False,
if clustalw_option_string!=False:
command=command+" "+clustalw_option_string #see useful flags: http://toolkit.tuebingen.mpg.de/clustalw/help_params
with subprocess.Popen(command, shell=True, stdout=subprocess.PIPE) as ps:
ps.wait()
subprocess.run(command, shell=True, stdout=subprocess.DEVNULL)
aln=io.LoadAlignment(out)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment