Closedown

This commit is contained in:
gac-x04sa
2019-07-30 16:01:21 +02:00
parent 40654daa4c
commit 46a3fff3bd
3 changed files with 15 additions and 33 deletions

View File

@@ -74,9 +74,6 @@ if not get_context().isSimulation():
else:
energy.write(9.5)
def after_sample(record, scan):
close_shutter()
run("utils/Auto")
###################################################################################################
@@ -242,7 +239,10 @@ def before_sample(position, scan):
def after_sample(rec, scan):
close_shutter()
print 1
if auto_after_sample(rec, scan):
print 2
save_metadata(rec, scan)
###################################################################################################