Skip to content

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
rrwick committed Dec 14, 2020
1 parent 16d4b9d commit 26fb425
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions test/test_subsample.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,11 +132,8 @@ def test_calculate_subsets_04():


def test_shuffle_reads():
read_order, read_lengths = \
trycycler.subsample.shuffle_reads('test/test_subsample/reads_1.fastq')
read_order = trycycler.subsample.shuffle_reads('test/test_subsample/reads_1.fastq')
assert len(read_order) == 20
assert len(read_lengths) == 20
assert sum(length for _, length in read_lengths.items()) == 2441
assert sorted(read_order) == list(range(20))


Expand Down

0 comments on commit 26fb425

Please sign in to comment.