Skip to content

Commit c5192e8

Browse files
author
cindeem
committed
fix bug in identifying correct frame number order in a multi-frame ecat file using mlist
1 parent 1046c11 commit c5192e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nibabel/ecat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ def get_frame_order(self):
474474
frame_dict = {}
475475
id_dict = {}
476476
for fn, id in enumerate(mlist[ind,0]):
477-
mlist_n = np.where(mlist[:,0] == id)[0][0]
477+
mlist_n = np.where(tmp == id)[0][0]
478478
id_dict.update({fn:[mlist_n,id]})
479479

480480
return id_dict

0 commit comments

Comments
 (0)