Skip to content
Snippets Groups Projects
Commit 34eaa53e authored by Studer Gabriel's avatar Studer Gabriel
Browse files

add 'bad interpreter' issue as cause to raise RuntimeError

parent 3bd0466f
No related branches found
No related tags found
No related merge requests found
......@@ -613,14 +613,14 @@ class HHblits:
lines = sout.decode().splitlines()
for line in lines:
ost.LogVerbose(line.strip())
if 'error' in line.lower():
if 'error' in line.lower() or 'bad interpreter' in line.lower():
raise RuntimeError('Predicting secondary structure for MSA '+
'(%s) failed, on command: %s' % (a3m_file, line))
lines = serr.decode().splitlines()
for line in lines:
ost.LogError(line.strip())
if 'error' in line.lower():
if 'error' in line.lower() or 'bad interpreter' in line.lower():
raise RuntimeError('Predicting secondary structure for MSA '+
'(%s) failed, on command: %s' % (a3m_file, line))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment