Skip to content

Commit 5760b8a

Browse files
authored
Merge pull request #68 from rpanderson/master
experiment_name changed to apparatus_name
2 parents bb2061d + 84c6ec7 commit 5760b8a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lyse/__main__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2008,7 +2008,7 @@ def on_save_configuration_as_triggered(self):
20082008
try:
20092009
default_path = os.path.join(self.exp_config.get('DEFAULT', 'app_saved_configs'), 'lyse')
20102010
except LabConfig.NoOptionError:
2011-
self.exp_config.set('DEFAULT', 'app_saved_configs', os.path.join('%(labscript_suite)s', 'userlib', 'app_saved_configs', '%(experiment_name)s'))
2011+
self.exp_config.set('DEFAULT', 'app_saved_configs', os.path.join('%(labscript_suite)s', 'userlib', 'app_saved_configs', '%(apparatus_name)s'))
20122012
default_path = os.path.join(self.exp_config.get('DEFAULT', 'app_saved_configs'), 'lyse')
20132013
if not os.path.exists(default_path):
20142014
os.makedirs(default_path)
@@ -2154,7 +2154,7 @@ def load_window_geometry_configuration(self, filename):
21542154
self.ui.splitter_horizontal.setSizes(save_data['splitter_horizontal'])
21552155

21562156
def setup_config(self):
2157-
required_config_params = {"DEFAULT": ["experiment_name"],
2157+
required_config_params = {"DEFAULT": ["apparatus_name"],
21582158
"programs": ["text_editor",
21592159
"text_editor_arguments",
21602160
"hdf5_viewer",

0 commit comments

Comments
 (0)