Commit 8ff95eef authored by Joel Collins's avatar Joel Collins
Browse files

Store full microscope settings and state in capture metadata

parent b81cfaf9
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -132,7 +132,8 @@ class ListAPI(MicroscopeView):

            metadata.update(
                {
                    "position": self.microscope.state["stage"]["position"],
                    "microscope_settings": self.microscope.read_config(),
                    "microscope_state": self.microscope.state,
                    "microscope_id": self.microscope.id,
                    "microscope_name": self.microscope.name,
                }