Skip to content

Commit ba2db2e

Browse files
committed
fix type hints
1 parent 1c801ab commit ba2db2e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

snp2cell/cli.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ def score_snp(
188188
),
189189
],
190190
rbf_table_path: Annotated[
191-
Path,
191+
typing.Optional[Path],
192192
typer.Option(
193193
"--output-table",
194194
"-o",
@@ -204,7 +204,6 @@ def score_snp(
204204
"--lexpand",
205205
"-l",
206206
help="number of base pairs to expand the region to the left",
207-
default=250,
208207
),
209208
] = 250,
210209
rexpand: Annotated[
@@ -213,7 +212,6 @@ def score_snp(
213212
"--rexpand",
214213
"-r",
215214
help="number of base pairs to expand the region to the right",
216-
default=250,
217215
),
218216
] = 250,
219217
pos2gene: Annotated[
@@ -260,6 +258,8 @@ def score_snp(
260258
fgwas_output_path=fgwas_output_path,
261259
region_loc_path=region_loc_path,
262260
rbf_table_path=rbf_table_path,
261+
lexpand=lexpand,
262+
rexpand=rexpand,
263263
num_cores=n_cpu,
264264
)
265265
log.info(f"computed scores for {len(snp_scr)} regions")

0 commit comments

Comments
 (0)