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

decode subprocess sout

parent 1a0f9f5b
Branches
Tags
No related merge requests found
...@@ -667,7 +667,7 @@ class HHblits: ...@@ -667,7 +667,7 @@ class HHblits:
job = subprocess.Popen(cs_cmd, shell=True, cwd=self.working_dir, job = subprocess.Popen(cs_cmd, shell=True, cwd=self.working_dir,
stdout=subprocess.PIPE, stderr=subprocess.PIPE) stdout=subprocess.PIPE, stderr=subprocess.PIPE)
sout, _ = job.communicate() sout, _ = job.communicate()
lines = sout.decode() sout = sout.decode()
if 'Wrote abstract state sequence to' in sout: if 'Wrote abstract state sequence to' in sout:
return cs_file return cs_file
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment