Skip to content

Commit

Permalink
simplify bet again
Browse files Browse the repository at this point in the history
Signed-off-by: neuronflow <[email protected]>
  • Loading branch information
neuronflow committed Feb 14, 2024
1 parent ed86fca commit e38f7cf
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions brainles_preprocessing/preprocessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,10 +205,7 @@ def run(
)

# Optional: Brain extraction
brain_extraction = any(
modality.normalized_bet_output_path or modality.raw_bet_output_path
for modality in self.all_modalities
)
brain_extraction = any(modality.bet for modality in self.all_modalities)

if brain_extraction:
bet_dir = os.path.join(self.temp_folder, "brain-extraction")
Expand Down

0 comments on commit e38f7cf

Please sign in to comment.