From ed86fcaba359e708aa5f09eb049a8785df2567f4 Mon Sep 17 00:00:00 2001 From: neuronflow Date: Wed, 14 Feb 2024 18:55:36 +0100 Subject: [PATCH] fix bet property Signed-off-by: neuronflow --- brainles_preprocessing/modality.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/brainles_preprocessing/modality.py b/brainles_preprocessing/modality.py index 7daa4bc..0fa55a9 100644 --- a/brainles_preprocessing/modality.py +++ b/brainles_preprocessing/modality.py @@ -81,6 +81,10 @@ def __init__( self.current = self.input_path + @property + def bet(self) -> bool: + return any([self.raw_bet_output_path, self.normalized_bet_output_path]) + def normalize( self, temporary_directory: str,