Skip to content

Commit

Permalink
only skullstrip cm if bet is True
Browse files Browse the repository at this point in the history
Signed-off-by: neuronflow <[email protected]>
  • Loading branch information
neuronflow committed Dec 22, 2023
1 parent 68a375a commit 2eba656
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion brainles_preprocessing/modality.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,5 +222,6 @@ def extract_brain_region(
brain_mask_path=atlas_mask_path,
log_file_path=bet_log,
)
self.current = atlas_bet_cm
if self.bet is True:
self.current = atlas_bet_cm
return atlas_mask_path

0 comments on commit 2eba656

Please sign in to comment.