Skip to content

Commit dc3e271

Browse files
committed
fix: bet
Signed-off-by: neuronflow <[email protected]>
1 parent e168a7a commit dc3e271

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

brainles_preprocessing/modality.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff 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,

0 commit comments

Comments
 (0)