There was an error while loading. Please reload this page.
1 parent 46a21bc commit 9332bf0Copy full SHA for 9332bf0
1 file changed
newmap/search.py
@@ -43,8 +43,8 @@ class SearchConfig:
43
kmer_lengths: list[int]
44
is_binary_search: bool
45
46
- use_forward: list[bool]
47
- use_reverse_complement: list[bool]
+ use_forward: list[bool] = field(default_factory=lambda: [True])
+ use_reverse_complement: list[bool] = field(default_factory=lambda: [True])
48
output_directory: Path = Path.cwd()
49
50
# NB: Cannot assign mutable default arguments since they would be shared
0 commit comments