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

9 statements  

« prev     ^ index     » next       coverage.py v7.7.1, created at 2025-03-29 02:12 +0000

1from daiquiri.core.components import ComponentActor 

2 

3 

4class MoveActor(ComponentActor): 

5 name = "move" 

6 

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

8 config = self.get_config() 

9 sequential = config.get("sequential") 

10 kwargs["absol"]["move_to"](kwargs["absol"], sequential=sequential) 

11 

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

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