Skip to content

Commit 71cb50f

Browse files
committed
BUG: Fix logic."
1 parent fe1852f commit 71cb50f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

antspynet/utilities/harvard_oxford_atlas_labeling.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ def reshape_image(image, crop_size, interp_type = "linear"):
193193
probability_array = np.flip(probability_array, axis=0)
194194
if i == 1:
195195
label = hoa_lateral_right_labels[j]
196-
else:
196+
elif i == 2:
197197
label = hoa_lateral_left_labels[j]
198198
probability_image = ants.from_numpy_like(probability_array, t1_preprocessed)
199199
if do_preprocessing:

0 commit comments

Comments
 (0)