diff --git a/script/local.py b/script/local.py index e072147..7dce2b8 100644 --- a/script/local.py +++ b/script/local.py @@ -18,6 +18,7 @@ class Strategy(ch.psi.pshell.data.ScanPersistenceStrategyTable): global FILENAME, data_file name = controller.getExecutingContext() if FILENAME is None else FILENAME data_file = time.strftime('%Y%m%d_%H%M') + '_' + FILENAME + '_' + str(controller.dataManager.getScanIndex()).zfill(4) + print "Opened data file: " + data_file return data_file controller.dataManager.setScanStrategy(Strategy())