Skip to content

Commit 4ce0b50

Browse files
committed
fix typing and attribute use around main output folder
1 parent 543e60c commit 4ce0b50

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/correction_computation_pipeline.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import sys
77
from typing import Any, Iterable
88

9-
from gertils import ExtantFile, ExtantFolder, NonExtantPath
9+
from gertils import ExtantFile, NonExtantPath
1010
import pypiper
1111

1212
from compute_illumination_correction import workflow as compute_correction
@@ -24,7 +24,7 @@ def __init__(
2424
self,
2525
*,
2626
path_list_file: ExtantFile,
27-
output_root: ExtantFolder,
27+
output_root: Path,
2828
version_name: str,
2929
**pl_mgr_kwargs: Any,
3030
) -> None:
@@ -33,7 +33,7 @@ def __init__(
3333
self.visualization_folder = output_root / "visualization"
3434
with path_list_file.path.open(mode="r") as pathlist:
3535
self.input_paths: list[Path] = [Path(line.strip()) for line in pathlist.readlines() if line.strip()]
36-
super().__init__(name=PIPE_NAME, outfolder=str(output_root.path / "pypiper"), **pl_mgr_kwargs)
36+
super().__init__(name=PIPE_NAME, outfolder=str(output_root / "pypiper"), **pl_mgr_kwargs)
3737

3838
def stages(self) -> list[pypiper.Stage]:
3939
return [

0 commit comments

Comments
 (0)