From 3bd0466f8a96ef92980be4b3ffebc1f5b0934514 Mon Sep 17 00:00:00 2001
From: Gabriel Studer <gabriel.studer@unibas.ch>
Date: Mon, 20 Apr 2020 14:39:27 +0200
Subject: [PATCH] undo temporary depug output for CI investigation

---
 modules/bindings/pymod/hhblits.py      | 5 -----
 modules/bindings/tests/test_hhblits.py | 7 -------
 2 files changed, 12 deletions(-)

diff --git a/modules/bindings/pymod/hhblits.py b/modules/bindings/pymod/hhblits.py
index 34529ed3e..d706052de 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 1511c5b85..5a2972919 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):
-- 
GitLab