Skip to content

Commit 033fc8a

Browse files
Tristan DennisTristan Dennis
authored andcommitted
update output dir type def
1 parent dab86ec commit 033fc8a

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

malariagen_data/anoph/base_params.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,3 +316,10 @@ def validate_sample_selection_params(
316316
to be overwritten. Default is False.
317317
""",
318318
]
319+
320+
output_dir: TypeAlias = Annotated[
321+
str,
322+
"""
323+
A string indicating the desired output file location
324+
""",
325+
]

malariagen_data/anoph/to_plink.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def _create_plink_outfile(
5858

5959
def biallelic_snps_to_plink(
6060
self,
61-
output_dir,
61+
output_dir: base_params.output_dir,
6262
region: base_params.regions,
6363
n_snps: base_params.n_snps,
6464
thin_offset: base_params.thin_offset = 0,

0 commit comments

Comments
 (0)