File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -98,11 +98,15 @@ def __init__(
9898 else :
9999 self .normalized_skull_output_path = normalized_skull_output_path
100100
101+ # print("self.raw_bet_output_path", self.raw_bet_output_path)
102+ # print("self.normalized_skull_output_path", self.normalized_skull_output_path)
103+ # print("self.bet:", self.bet)
104+
101105 @property
102106 def bet (self ) -> bool :
103107 return any (
104108 path is not None
105- for path in [self .raw_bet_output_path , self .normalized_skull_output_path ]
109+ for path in [self .raw_bet_output_path , self .normalized_bet_output_path ]
106110 )
107111
108112 def normalize (
@@ -290,6 +294,7 @@ def save_current_image(
290294 )
291295 elif normalization is True :
292296 image = read_nifti (self .current )
297+ print ("current image" , self .current )
293298 normalized_image = self .normalizer .normalize (image = image )
294299 write_nifti (
295300 input_array = normalized_image ,
Original file line number Diff line number Diff line change @@ -216,6 +216,7 @@ def run(
216216
217217 # Optional: Brain extraction
218218 brain_extraction = any (modality .bet for modality in self .all_modalities )
219+ # print("brain extraction: ", brain_extraction)
219220
220221 if brain_extraction :
221222 bet_dir = os .path .join (self .temp_folder , "brain-extraction" )
You can’t perform that action at this time.
0 commit comments