diff --git a/modules/bindings/pymod/clustalw.py b/modules/bindings/pymod/clustalw.py index 0741992832e14f2d6bc65f5473d6ab02b2f8872c..aab374f07d449876585fccc4cc0a0bce36f95336 100644 --- a/modules/bindings/pymod/clustalw.py +++ b/modules/bindings/pymod/clustalw.py @@ -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)