Moved hardware config to a runtime config YAML file in home

This commit is contained in:
Joel Collins 2018-11-29 14:41:56 +00:00
parent 7a58b4e95e
commit 3925ef8cfe
10 changed files with 182 additions and 146 deletions

View file

@ -261,7 +261,7 @@ class PositionAPI(MicroscopeView):
return jsonify(self.microscope.state['position'])
app.add_url_rule(
uri('/position/'),
uri('/position/'),
view_func=PositionAPI.as_view('position', microscope=api_microscope))