Closedown
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
###################################################################################################
|
||||
# Deployment specific global definitions - executed after startup.py
|
||||
###################################################################################################
|
||||
|
||||
MODE = None
|
||||
|
||||
#Uncomment this line to create the simulated devices needed to the tutorial scripts.
|
||||
#run("tutorial/devices")
|
||||
@@ -13,7 +13,7 @@ class Strategy(ch.psi.pshell.data.ScanPersistenceStrategyTable):
|
||||
return time.strftime('%Y%m%d%H%M%S') + '_' + controller.getExecutingContext() + '_logs'
|
||||
|
||||
def getDatasetName(self, scan):
|
||||
return time.strftime('%Y%m%d%H%M%S') + '_' + controller.getExecutingContext() + '_' + str(controller.dataManager.getScanIndex()).zfill(4)
|
||||
return time.strftime('%Y%m%d%H%M%S') + '_' + controller.getExecutingContext() +'_' + str(MODE) + '_' + str(controller.dataManager.getScanIndex()).zfill(4)
|
||||
|
||||
|
||||
controller.dataManager.setScanStrategy(Strategy())
|
||||
|
||||
Reference in New Issue
Block a user