Skip to content

Commit 31d8541

Browse files
committed
style: format tests/test_options.py with black
1 parent 2b6d50b commit 31d8541

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

‎tests/test_options.py‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
import pytest
22
from rammappy import Index, Aligner, Preset
33

4+
45
def test_aligner_options(tmp_path):
56
fasta = tmp_path / "test.fa"
67
fasta.write_text(">seq1\nACGTACGTACGTACGT\n")
7-
8+
89
idx = Index.build([(b"seq1", b"ACGTACGTACGTACGT")])
910
aligner = Aligner(idx, preset=Preset.MapOnt)
10-
11+
1112
opts = aligner.options
1213
assert opts.seeding.min_mid_occ > 0
13-
14+
1415
# Mutate options
1516
s = opts.seeding
1617
s.min_mid_occ = 42
1718
opts.seeding = s
18-
19+
1920
c = opts.chaining
2021
c.min_cnt = 5
2122
opts.chaining = c
22-
23+
2324
aligner.options = opts
24-
25+
2526
opts2 = aligner.options
2627
assert opts2.seeding.min_mid_occ == 42
2728
assert opts2.chaining.min_cnt == 5
28-

0 commit comments

Comments
 (0)