Update scripts and plugins to 2.0
This commit is contained in:
@@ -67,7 +67,7 @@ def grab_image(position, scan):
|
||||
#Scan_Nr = (scan.recordIndex-1)/NUMBER_SCANS
|
||||
#filename = get_exec_pars().path + "/" + ("%02d" % Scan_Nr) + "/s" + "{seq}%03d" + "_" + ("%03d.tif" % scan.recordIndex)
|
||||
filename = get_exec_pars().path + "/" + str(scan.currentPass) + "/s" + "{seq}%03d" + "_" + ("%03d.tif" % scan.recordIndex)
|
||||
filename = get_context().setup.expandPath(filename)
|
||||
filename = Setup.expandPath(filename)
|
||||
print filename
|
||||
save_as_tiff(av, filename, metadata=(get_diags() if SAVE_DIAGS else {}))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user