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

decode subprocess sout

parent ba9dc507
No related branches found
No related tags found
No related merge requests found
......@@ -667,7 +667,8 @@ class HHblits:
job = subprocess.Popen(cs_cmd, shell=True, cwd=self.working_dir,
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
sout, _ = job.communicate()
if b'Wrote abstract state sequence to' in sout:
lines = sout.decode()
if 'Wrote abstract state sequence to' in sout:
return cs_file
ost.LogWarning('Creating column state sequence file (%s) failed' % \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment