Added many many debug statements to help debug issue #32

This commit is contained in:
Joel Collins 2019-02-05 17:06:05 +00:00
parent 0948c9308a
commit 5672b82f5e
4 changed files with 25 additions and 8 deletions

View file

@ -73,10 +73,12 @@ class Microscope(object):
def close(self):
"""Shut down the microscope hardware."""
logging.info("Closing {}".format(self))
if self.camera:
self.camera.close()
if self.stage:
self.stage.close()
logging.info("Closed {}".format(self))
def attach(self, camera: StreamingCamera, stage: OpenFlexureStage):
"""