From 63c33d5cc45d45486e7bc78e48f85e6497994d1e Mon Sep 17 00:00:00 2001 From: neuronflow Date: Wed, 14 Feb 2024 15:54:56 +0100 Subject: [PATCH] introduce new output paths Signed-off-by: neuronflow --- brainles_preprocessing/modality.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/brainles_preprocessing/modality.py b/brainles_preprocessing/modality.py index 918bc2e..20d3350 100644 --- a/brainles_preprocessing/modality.py +++ b/brainles_preprocessing/modality.py @@ -42,15 +42,19 @@ def __init__( self, modality_name: str, input_path: str, - output_path: str, - bet: bool, + raw_bet_output_path: str, + normalized_bet_output_path: str, + raw_skull_output_path: str, + normalized_skull_output_path: str, atlas_correction: bool = True, normalizer: Optional[Normalizer] = None, ) -> None: self.modality_name = modality_name self.input_path = turbopath(input_path) - self.output_path = turbopath(output_path) - self.bet = bet + self.raw_bet_output_path = turbopath(raw_bet_output_path) + self.normalized_bet_output_path = turbopath(normalized_bet_output_path) + self.raw_skull_output_path = turbopath(raw_skull_output_path) + self.normalized_skull_output_path = turbopath(normalized_skull_output_path) self.atlas_correction = atlas_correction self.normalizer = normalizer self.current = self.input_path