Skip to content

Commit 7d94422

Browse files
authored
Merge pull request #41 from rpanderson/master
experiment_name changed to apparatus_name
2 parents 2351db0 + 9487469 commit 7d94422

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

runviewer/__main__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ def __init__(self, exp_config):
327327
try:
328328
self.default_config_path = os.path.join(exp_config.get('DEFAULT', 'app_saved_configs'), 'runviewer')
329329
except LabConfig.NoOptionError:
330-
exp_config.set('DEFAULT', 'app_saved_configs', os.path.join('%(labscript_suite)s', 'userlib', 'app_saved_configs', '%(experiment_name)s'))
330+
exp_config.set('DEFAULT', 'app_saved_configs', os.path.join('%(labscript_suite)s', 'userlib', 'app_saved_configs', '%(apparatus_name)s'))
331331
self.default_config_path = os.path.join(exp_config.get('DEFAULT', 'app_saved_configs'), 'runviewer')
332332
if not os.path.exists(self.default_config_path):
333333
os.makedirs(self.default_config_path)
@@ -1643,7 +1643,7 @@ def handler(self, h5_filepath):
16431643

16441644
shots_to_process_queue = Queue()
16451645

1646-
exp_config = LabConfig(required_params = {"DEFAULT": ["experiment_name"], "paths": ["shared_drive", "experiment_shot_storage"], 'ports': ['runviewer']})
1646+
exp_config = LabConfig(required_params = {"DEFAULT": ["apparatus_name"], "paths": ["shared_drive", "experiment_shot_storage"], 'ports': ['runviewer']})
16471647

16481648
port = int(exp_config.get('ports', 'runviewer'))
16491649
# Start experiment server

0 commit comments

Comments
 (0)