Skip to content

Commit 9332bf0

Browse files
committed
Assign strand alignment default to search configuration for easier testing
1 parent 46a21bc commit 9332bf0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

newmap/search.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ class SearchConfig:
4343
kmer_lengths: list[int]
4444
is_binary_search: bool
4545

46-
use_forward: list[bool]
47-
use_reverse_complement: list[bool]
46+
use_forward: list[bool] = field(default_factory=lambda: [True])
47+
use_reverse_complement: list[bool] = field(default_factory=lambda: [True])
4848
output_directory: Path = Path.cwd()
4949

5050
# NB: Cannot assign mutable default arguments since they would be shared

0 commit comments

Comments
 (0)