Skip to content

Commit

Permalink
tiny changes
Browse files Browse the repository at this point in the history
  • Loading branch information
fergusL committed Oct 17, 2019
1 parent 62be24c commit df8a9dd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion domehunter/dome_control.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -436,6 +435,7 @@ def find_home(self):
def sync(self, az):
"""
Sync encoder count to azimuth position.
Parameters
----------
az : float
Expand All @@ -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
Expand Down

0 comments on commit df8a9dd

Please sign in to comment.