Skip to content

Commit

Permalink
Merged in PhyNerd/runviewer/labconfig (pull request labscript-suite#13)
Browse files Browse the repository at this point in the history
Labconfig

Approved-by: Chris Billington <chrisjbillington@gmail.com>
  • Loading branch information
chrisjbillington committed Aug 5, 2017
2 parents 056df5d + a978b49 commit 1bbce44
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions __main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1068,8 +1068,7 @@ def handler(self, h5_filepath):

shots_to_process_queue = Queue()

config_path = os.path.join(config_prefix, '%s.ini' % socket.gethostname())
exp_config = LabConfig(config_path, {"DEFAULT": ["experiment_name"], "paths": ["shared_drive", "experiment_shot_storage"], 'ports': ['runviewer']})
exp_config = LabConfig(required_params = {"DEFAULT": ["experiment_name"], "paths": ["shared_drive", "experiment_shot_storage"], 'ports': ['runviewer']})

port = int(exp_config.get('ports', 'runviewer'))
myappid = 'monashbec.runviewer' # arbitrary string
Expand Down

0 comments on commit 1bbce44

Please sign in to comment.