Status and settings members can be accessed via URI
This commit is contained in:
parent
de73ae4e0a
commit
dc99a12985
4 changed files with 80 additions and 6 deletions
|
|
@ -53,6 +53,4 @@ class MoveStageAPI(MicroscopeView):
|
|||
with self.microscope.stage.lock:
|
||||
self.microscope.stage.move_rel(position)
|
||||
|
||||
out = filter_dict(self.microscope.state, ["stage", "position"])
|
||||
|
||||
return jsonify(out)
|
||||
return jsonify(self.microscope.status["stage"]["position"])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue