Skip to content

Commit

Permalink
Remove debug print from pyhmmer.hmmer
Browse files Browse the repository at this point in the history
  • Loading branch information
althonos committed Mar 4, 2024
1 parent e94be4e commit 1e33754
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pyhmmer/hmmer.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,15 +215,13 @@ def run(self) -> None:
hits = self.process(chore.query)
chore.complete(hits)
except BaseException as exc:
print(exc)
self.kill()
chore.fail(exc)
if isinstance(self.targets, (SequenceFile, HMMPressedFile)):
self.targets.close()

def kill(self) -> None:
"""Set the synchronized kill switch for all threads."""
print(self.kill_switch)
self.kill_switch.set()

def process(self, query: _Q) -> _R:
Expand Down

0 comments on commit 1e33754

Please sign in to comment.