Skip to content

Commit

Permalink
Do SearchIO indexing get_raw tests on BGZF files
Browse files Browse the repository at this point in the history
No change on trunk as no new BGZF files added to repository,
skip TravisCI tests [ci skip]
  • Loading branch information
peterjc committed Dec 3, 2012
1 parent 8f9e72b commit 7c5fa9f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Tests/test_SearchIO_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ def check_raw(self, filename, id, raw, **kwargs):
#self.assertEqual(_as_bytes(raw), idx.get_raw(id))
idx.close()

if os.path.isfile(filename + ".bgz"):
#Do the tests again with the BGZF compressed file
self.check_raw(filename + ".bgz", id, raw, **kwargs)


class BlastXmlRawCases(CheckRaw):
"""Check BLAST XML get_raw method."""
Expand Down

0 comments on commit 7c5fa9f

Please sign in to comment.