Skip to content

Commit 997fc45

Browse files
Ian Dobbiecarandraug
authored andcommitted
Clarity: add missing abstract methods _on_shutdown and initialize (issue #113)
* microscope/filterwheels/aurox.py (Clarity): class was missing an implementation for the Device abstract methods _on_shutdown() and initialize(). This was working before because when we migrated to Python 3 we messed up the implementation of ABCs. That was fixed with 83f1256 so all Device classes that don't implement the whole interface were failing since.
1 parent 76ec331 commit 997fc45

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

microscope/filterwheels/aurox.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,3 +262,9 @@ def set_position(self, pos, blocking=True):
262262
while blocking and self.moving():
263263
pass
264264
return result
265+
266+
def _on_shutdown(self):
267+
pass
268+
269+
def initialize(self):
270+
pass

0 commit comments

Comments
 (0)