From 0592d31b2242259252a26d4a1a2376d07e4e5034 Mon Sep 17 00:00:00 2001 From: Joel Collins Date: Mon, 14 Dec 2020 15:00:37 +0000 Subject: [PATCH] Fix #194 --- openflexure_microscope/stage/sanga.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openflexure_microscope/stage/sanga.py b/openflexure_microscope/stage/sanga.py index ed9f3c54..6ad68a28 100644 --- a/openflexure_microscope/stage/sanga.py +++ b/openflexure_microscope/stage/sanga.py @@ -182,7 +182,7 @@ class SangaStage(BaseStage): # Handle move with backlash correction # Calculate main movement - initial_move: np.ndarray = displacement_array + initial_move: np.ndarray = np.copy(displacement_array) initial_move -= np.where( self.backlash * displacement_array < 0, self.backlash,