From 694b121c01fd34d778c6da96c4ed601b7f7aa8e4 Mon Sep 17 00:00:00 2001 From: Markus Zolliker Date: Fri, 8 Mar 2024 15:38:34 +0100 Subject: [PATCH] fix more stop doc strings Change-Id: Id7ea0a6d0c959e980beee8fbea73932c701977d7 --- frappy_psi/qnw.py | 1 + frappy_psi/uniax.py | 1 + 2 files changed, 2 insertions(+) diff --git a/frappy_psi/qnw.py b/frappy_psi/qnw.py index f699352..2f4ee32 100644 --- a/frappy_psi/qnw.py +++ b/frappy_psi/qnw.py @@ -141,5 +141,6 @@ class TemperatureLoopTC1(SensorTC1, Drivable): return value def stop(self): + """stop at current value (does nothing if ramp is not used)""" if self.control and self.ramp_used: self.write_target(self.value) diff --git a/frappy_psi/uniax.py b/frappy_psi/uniax.py index 067b058..c46db3b 100644 --- a/frappy_psi/uniax.py +++ b/frappy_psi/uniax.py @@ -411,6 +411,7 @@ class Uniax(PersistentMixin, Drivable): @Command() def stop(self): + """stop motor and control""" if self.motor.isBusy(): self.log.info('stop motor') self.motor_stop()