Skip to content

Commit

Permalink
resolving...
Browse files Browse the repository at this point in the history
  • Loading branch information
qiyunzhu committed Oct 8, 2024
1 parent 2dfcbce commit f2c2a88
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions woltka/tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,12 @@ def _test_params(params, exp):
# check read maps
for i in range(1, 6):
outmap_fp = join(self.tmpdir, f'S0{i}.txt.gz')
with gzip.open(outmap_fp, 'r') as f:
obs = f.read()
with gzip.open(outmap_fp, 'rt') as f:
obs = [x.rstrip() for x in f.readlines()]
with gzip.open(join(self.outdir, 'burst.genus.map',
f'S0{i}.txt.gz'), 'r') as f:
exp = f.read()
self.assertEqual(obs, exp)
f'S0{i}.txt.gz'), 'rt') as f:
exp = [x.rstrip() for x in f.readlines()]
self.assertListEqual(obs, exp)
remove(outmap_fp)

# blastn, family-level classification, report relative abundance (%)
Expand Down

0 comments on commit f2c2a88

Please sign in to comment.