diff --git a/CalibrationWidgets/vertDistToMotorsGuess.py b/CalibrationWidgets/vertDistToMotorsGuess.py index 2c61aa6d..c79d40f1 100644 --- a/CalibrationWidgets/vertDistToMotorsGuess.py +++ b/CalibrationWidgets/vertDistToMotorsGuess.py @@ -82,7 +82,11 @@ def dismiss_popup(self): def enterValues(self): try: dist = float(self.enterMeasurement.text) - self.data.config.set('Maslow Settings', 'motorOffsetY', str(dist)) + + if dist > 300: + self.data.config.set('Maslow Settings', 'motorOffsetY', str(dist)) + else: + self.data.message_queue.put("Message: Warning: The value you entered for the distance between the motors and the top of the work area is very small. This may cause too much strain on the motors at the top of the sheet.") self.readyToMoveOn() except: self.data.message_queue.put("Message: Couldn't convert that to a number...")