Permalink
Browse files

Bytes fix for indexing under Python 3

  • Loading branch information...
1 parent 829ee60 commit 8b0401b9e8859a6d2b4fc12e1649030b8f0d80c6 @peterjc peterjc committed Dec 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Bio/SearchIO/HmmerIO/hmmer2_text.py
@@ -316,7 +316,7 @@ def __iter__(self):
# determine flag for hmmsearch
is_hmmsearch = False
line = read_forward(handle)
- if line.startswith('hmmsearch'):
+ if line.startswith(_as_bytes('hmmsearch')):
is_hmmsearch = True
while True:

0 comments on commit 8b0401b

Please sign in to comment.