From df8a9dd4493fc35c2eff2a67ebe44bac5a7ea41c Mon Sep 17 00:00:00 2001 From: fergus Date: Thu, 17 Oct 2019 22:15:14 +1100 Subject: [PATCH] tiny changes --- domehunter/dome_control.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/domehunter/dome_control.py b/domehunter/dome_control.py index a9ca51f..1c6ab9e 100644 --- a/domehunter/dome_control.py +++ b/domehunter/dome_control.py @@ -335,7 +335,6 @@ def abort(self): # wait for threads to abort while self.movement_thread_active: time.sleep(0.1) - pass self._abort_event.clear() def goto_az(self, az): @@ -436,6 +435,7 @@ def find_home(self): def sync(self, az): """ Sync encoder count to azimuth position. + Parameters ---------- az : float @@ -458,6 +458,11 @@ def _thread_condition(self, trigger_condition, *args, **kwargs): - abort event is triggered - thread running time exceeds self.wait_timeout + Parameters + ---------- + trigger_condition : callable method + Callable method that returns a boolean value. + """ calibration_success = False # This will update to false, if while loop is terminated by