MCPcopy Create free account
hub / github.com/NSLS2/PyXRF / _accept_value_low

Method _accept_value_low

pyxrf/gui_module/useful_widgets.py:687–691  ·  view source on GitHub ↗
(self, val)

Source from the content-addressed store, hash-verified

685 return 0
686
687 def _accept_value_low(self, val):
688 val = self._convert_type(val)
689 val_max = self._value_high - self._range_min_diff
690 val = val if val <= val_max else val_max
691 return self.set_selection(value_low=val)
692
693 def _accept_value_high(self, val):
694 val = self._convert_type(val)

Calls 2

_convert_typeMethod · 0.95
set_selectionMethod · 0.95

Tested by

no test coverage detected