diff --git a/brainles_preprocessing/modality.py b/brainles_preprocessing/modality.py index 2e320ef..ff4a94a 100644 --- a/brainles_preprocessing/modality.py +++ b/brainles_preprocessing/modality.py @@ -92,7 +92,10 @@ def __init__( @property def bet(self) -> bool: - return any([self.raw_bet_output_path, self.normalized_bet_output_path]) + return any( + path is not None + for path in [self.raw_bet_output_path, self.normalized_skull_output_path] + ) def normalize( self,