Temp capture folder now handled by camera
This commit is contained in:
parent
a1965f606c
commit
7cf54240be
3 changed files with 21 additions and 39 deletions
|
|
@ -62,14 +62,14 @@ class ScanPlugin(MicroscopePlugin):
|
|||
|
||||
# Construct a tile filename
|
||||
filename = "{}_{}_{}_{}".format(basename, *self.microscope.stage.position)
|
||||
foldername = "SCAN_{}".format(basename)
|
||||
folder = "SCAN_{}".format(basename)
|
||||
|
||||
# Create output object
|
||||
output = self.microscope.camera.new_image(
|
||||
write_to_file=True,
|
||||
temporary=temporary,
|
||||
filename=filename,
|
||||
folder=foldername)
|
||||
folder=folder)
|
||||
|
||||
# Capture
|
||||
self.microscope.camera.capture(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue