Commit d12ad217 authored by Thomas Vincent's avatar Thomas Vincent

clear fabio cache

parent f98cd6eb
......@@ -826,9 +826,10 @@ def _add_edf_data(scan_id,
raise Exception('Merge of scan {0} aborted.'
''.format(scan_id))
data = edf_file.getframe(i).data
image_dset[i, :, :] = data[row:row+img_shape[0],
column:column+img_shape[1]]
frame = edf_file.getframe(i)
image_dset[i, :, :] = frame.data[
row:row+img_shape[0], column:column+img_shape[1]]
del frame.data # Delete data cache in fabio
except Exception as ex:
print(ex)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment