Closedown
This commit is contained in:
@@ -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)
|
||||
|
||||
###################################################################################################
|
||||
|
||||
Reference in New Issue
Block a user