Closedown
This commit is contained in:
@@ -13,7 +13,11 @@ 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(MODE) + '_' + str(controller.dataManager.getScanIndex()).zfill(4)
|
||||
print scan
|
||||
mode = None
|
||||
if MODE is not None:
|
||||
mode = "plus" if (MODE == "CIRC +") else "minus"
|
||||
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