Skip to content

Commit 6d21ba9

Browse files
author
Corentin
committed
SDH new options WIP
1 parent 7f04588 commit 6d21ba9

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

myoquant/__main__.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ def sdh_analysis(
3232
image_path: Path = typer.Argument(
3333
..., help="The image file path to analyse.", callback=check_file_exists
3434
),
35+
mask_path: Path = typer.Option(
36+
None,
37+
help="The path to a binary mask to hide slide region during analysis.",
38+
callback=check_file_exists,
39+
),
3540
model_path: Path = typer.Option(
3641
None,
3742
help="The SDH model path to use for analysis. Will download latest one if no path provided.",
@@ -50,6 +55,11 @@ def sdh_analysis(
5055
None,
5156
help="Approximative single cell diameter in pixel for CellPose detection. If not specified, Cellpose will try to deduce it.",
5257
),
58+
export_map: bool = typer.Option(
59+
True,
60+
help="Export the original image with cells painted by classification label.",
61+
),
62+
export_stats: bool = typer.Option(True, help="Export per fiber stat table."),
5363
):
5464
"""Run the SDH analysis and quantification on the image."""
5565
import os

0 commit comments

Comments
 (0)