Loading openflexure_microscope/microscope.py +5 −1 Original line number Diff line number Diff line Loading @@ -88,7 +88,11 @@ class Microscope: stage_type = configuration["stage"].get("type") stage_port = configuration["stage"].get("port") if stage_type in ("SangaBoard", "SangaStage"): try: self.stage = SangaStage(port=stage_port) except Exception as e: logging.error(e) logging.warning("No compatible Sangaboard hardware found.") ### Fallbacks if not self.camera: Loading Loading
openflexure_microscope/microscope.py +5 −1 Original line number Diff line number Diff line Loading @@ -88,7 +88,11 @@ class Microscope: stage_type = configuration["stage"].get("type") stage_port = configuration["stage"].get("port") if stage_type in ("SangaBoard", "SangaStage"): try: self.stage = SangaStage(port=stage_port) except Exception as e: logging.error(e) logging.warning("No compatible Sangaboard hardware found.") ### Fallbacks if not self.camera: Loading