Closedown
This commit is contained in:
@@ -15,8 +15,9 @@ class DataLayout( ch.psi.pshell.data.LayoutTable):
|
||||
|
||||
def getDatasetName(self, scan):
|
||||
global FILENAME, data_file
|
||||
name = get_context().name if FILENAME is None else FILENAME
|
||||
name = get_context().name if (FILENAME is None) else FILENAME
|
||||
data_file = time.strftime('%Y%m%d_%H%M') + '_' + name + '_' + str(get_context().index).zfill(4)
|
||||
print FILENAME
|
||||
print "Opened data file: " + get_context().path + "/" + data_file
|
||||
return data_file
|
||||
controller.dataManager.setLayout(DataLayout())
|
||||
|
||||
Reference in New Issue
Block a user