Skip to content

Commit dab86ec

Browse files
Tristan DennisTristan Dennis
authored andcommitted
fix docstring and base params
1 parent fb08e1c commit dab86ec

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

malariagen_data/anoph/base_params.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,3 +308,11 @@ def validate_sample_selection_params(
308308
to select SNPs to be included
309309
""",
310310
]
311+
312+
overwrite: TypeAlias = Annotated[
313+
bool,
314+
"""
315+
A boolean indicating whether a previously written file with the same name ought
316+
to be overwritten. Default is False.
317+
""",
318+
]

malariagen_data/anoph/to_plink.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def biallelic_snps_to_plink(
6262
region: base_params.regions,
6363
n_snps: base_params.n_snps,
6464
thin_offset: base_params.thin_offset = 0,
65-
overwrite: bool = False,
65+
overwrite: base_params.overwrite = False,
6666
sample_sets: Optional[base_params.sample_sets] = None,
6767
sample_query: Optional[base_params.sample_query] = None,
6868
sample_indices: Optional[base_params.sample_indices] = None,

0 commit comments

Comments
 (0)