diff --git a/src/oct_to_tiff/cli.py b/src/oct_to_tiff/cli.py index b72836e..bcbdac2 100644 --- a/src/oct_to_tiff/cli.py +++ b/src/oct_to_tiff/cli.py @@ -110,15 +110,16 @@ def write_volume( ) -def extract_boundaries(input_path: Path) -> None: +def extract_boundaries(input_path: str | Path) -> None: """Extract segmentation lines. Parameters ---------- - input_path : Path + input_path : str | Path The specified input path. """ + input_path = Path(input_path) tree = DET.parse(input_path) root = tree.getroot()