Skip to content

Commit ddac35a

Browse files
committed
Fixed incorrect variable name when flagging no HK2 data after an image
1 parent d5d4af6 commit ddac35a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

midas/ros_tm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3935,7 +3935,7 @@ def get_images(self, info_only=False, rawheader=False, rawdata=False, sw_flags=F
39353935
for idx, img in old_images.iterrows():
39363936
frame = hk2[hk2.obt>img.start_time].index
39373937
if len(frame)==0:
3938-
print('WARNING: no HK2 frame found after scan start at %s' % time)
3938+
print('WARNING: no HK2 frame found after scan start at %s' % img.start_time)
39393939
continue
39403940
else:
39413941
frame = frame[0]

0 commit comments

Comments
 (0)