Skip to content

Commit 913242a

Browse files
committed
FIX: fix bug in OrderedDict call within parrec get_volume_labels
1 parent 2d63f5a commit 913242a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nibabel/parrec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1161,7 +1161,7 @@ def get_volume_labels(self):
11611161
# the value at slice 1.
11621162
sl1_indices = image_defs['slice number'][sorted_indices] == 1
11631163

1164-
sort_info = OrderedDict(non_unique_keys)
1164+
sort_info = OrderedDict()
11651165
for key in non_unique_keys:
11661166
sort_info[key] = image_defs[key][sorted_indices][sl1_indices]
11671167
return sort_info

0 commit comments

Comments
 (0)