Update scripts and plugins to 2.0
This commit is contained in:
@@ -13,7 +13,7 @@ def grab_image(position, scan):
|
||||
av = average_frames(frames)
|
||||
if True:
|
||||
filename = get_exec_pars().path + "/" + ("%03d.tif" % scan.recordIndex)
|
||||
filename = get_context().setup.expandPath(filename)
|
||||
filename = Setup.expandPath(filename)
|
||||
print filename
|
||||
save_as_tiff(av, filename, parallel=True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user