diff --git a/src/foraging_gui/Foraging.py b/src/foraging_gui/Foraging.py index dd6025245..14916e34d 100644 --- a/src/foraging_gui/Foraging.py +++ b/src/foraging_gui/Foraging.py @@ -1921,7 +1921,7 @@ def keyPressEvent(self, event=None,allow_reset=False): float(child.text()) except Exception as e: # Invalid float. Do not change the parameter, reset back to previous value - logging.error('Cannot convert input to float: {}, \'{}\''.format(child.objectName(),child.text())) + logging.warning('Cannot convert input to float: {}, \'{}\''.format(child.objectName(),child.text())) if isinstance(child, QtWidgets.QDoubleSpinBox): child.setValue(float(getattr(Parameters, 'TP_'+child.objectName()))) elif isinstance(child, QtWidgets.QSpinBox):