Coverage for /opt/conda/envs/apienv/lib/python3.10/site-packages/daiquiri/implementors/imageviewer/move.py: 71%

7 statements  

« prev     ^ index     » next       coverage.py v7.6.4, created at 2024-11-14 02:13 +0000

1from daiquiri.core.components import ComponentActor 

2 

3 

4class MoveActor(ComponentActor): 

5 name = "move" 

6 

7 def method(self, *args, **kwargs): 

8 kwargs["absol"]["move_to"](kwargs["absol"]) 

9 

10 if kwargs["absol"].get("positions"): 

11 kwargs["absol"]["move_to_additional"](kwargs["absol"]["positions"])