MCPcopy Index your code
hub / github.com/pyfa-org/Pyfa / GetValueRange

Method GetValueRange

gui/utils/inputs.py:140–146  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

138 self.ChangeValue(self._storedValue)
139
140 def GetValueRange(self):
141 parts = self.GetValue().split('-')
142 if len(parts) == 1:
143 val = strToFloat(parts[0])
144 return (val, val)
145 else:
146 return (strToFloat(parts[0]), strToFloat(parts[1]))

Callers 1

getValuesMethod · 0.80

Calls 2

strToFloatFunction · 0.85
GetValueMethod · 0.45

Tested by

no test coverage detected