Skip to content

Commit

Permalink
flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-cowart committed Dec 19, 2024
1 parent 41a9691 commit 2fc3585
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions sequence_processing_pipeline/tests/test_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,15 @@ class MockStat:
obs = split_similar_size_bins('foo', 1, tmp + '/prefix')
self.assertEqual(obs, exp)

exp_1 = ('/foo/bar/Sample1_R1_001.fastq.gz\t/foo/bar/Sample1_R2_001.fastq.gz'
'\tbar\n'
'/foo/bar/Sample2_R1_001.fastq.gz\t/foo/bar/Sample2_R2_001.fastq.gz'
'\tbar\n')
exp_2 = ('/foo/baz/Sample3_R1_SRE_S2_L007_R2_001.fastq.gz\t/foo/baz/Sample3_R2_SRE_S2_L007_R1_001.fastq.gz'
'\tbaz\n')
exp_1 = ('/foo/bar/Sample1_R1_001.fastq.gz\t'
'/foo/bar/Sample1_R2_001.fastq.gz\t'
'bar\n'
'/foo/bar/Sample2_R1_001.fastq.gz\t'
'/foo/bar/Sample2_R2_001.fastq.gz\t'
'bar\n')
exp_2 = ('/foo/baz/Sample3_R1_SRE_S2_L007_R2_001.fastq.gz\t'
'/foo/baz/Sample3_R2_SRE_S2_L007_R1_001.fastq.gz\t'
'baz\n')

obs_1 = open(tmp + '/prefix-1').read()
self.assertEqual(obs_1, exp_1)
Expand Down

0 comments on commit 2fc3585

Please sign in to comment.