diff --git a/modules/bindings/pymod/hhblits.py b/modules/bindings/pymod/hhblits.py index 34529ed3e834538ef328fae874afa6bec08a2325..d706052debf5ddb9473703d3cd0a9cc6ca747301 100644 --- a/modules/bindings/pymod/hhblits.py +++ b/modules/bindings/pymod/hhblits.py @@ -611,23 +611,18 @@ class HHblits: sout, serr = job.communicate() lines = sout.decode().splitlines() - ost.LogError("SecStruct stdout :") for line in lines: - ost.LogError(line.strip()) ost.LogVerbose(line.strip()) if 'error' in line.lower(): raise RuntimeError('Predicting secondary structure for MSA '+ '(%s) failed, on command: %s' % (a3m_file, line)) - ost.LogError("SecStruct stderr:") lines = serr.decode().splitlines() for line in lines: - ost.LogError(line.strip()) ost.LogError(line.strip()) if 'error' in line.lower(): raise RuntimeError('Predicting secondary structure for MSA '+ '(%s) failed, on command: %s' % (a3m_file, line)) - ost.LogError("SecStruct done") return a3m_file diff --git a/modules/bindings/tests/test_hhblits.py b/modules/bindings/tests/test_hhblits.py index 1511c5b855f0d0435f144c85dcc86c82ef446ad7..5a2972919ee12b992263182659f446d202ff604c 100644 --- a/modules/bindings/tests/test_hhblits.py +++ b/modules/bindings/tests/test_hhblits.py @@ -133,13 +133,6 @@ class TestHHblitsBindings(unittest.TestCase): 'TSKYR') self.hh = hhblits.HHblits(query_seq, self.hhroot) a3m = self.hh.BuildQueryMSA('testfiles/hhblitsdb/unittestdb') - - ost.LogError("Im the bad guy") - with open(a3m) as fh: - for line in fh.readlines(): - ost.LogError(line) - ost.LogError("Bad guy over n out") - self.assertTrue(filecmp.cmp(a3m, "testfiles/testali_two.a3m")) def testA3mToProfileFileName(self):