MCPcopy Create free account
hub / github.com/pyfa-org/Pyfa / _simplifyValue

Method _simplifyValue

gui/builtinItemStatsViews/itemMutator.py:175–178  ·  view source on GitHub ↗
(self, mutator, value)

Source from the content-addressed store, hash-verified

173 self.SetSizer(sizer)
174
175 def _simplifyValue(self, mutator, value):
176 if mutator.attribute.unit is None:
177 return value
178 return mutator.attribute.unit.SimplifyValue(value)
179
180 def _complicateValue(self, mutator, value):
181 if mutator.attribute.unit is None:

Callers 4

__init__Method · 0.95
resetMutatedValuesMethod · 0.95
randomMutatedValuesMethod · 0.95
revertChangesMethod · 0.95

Calls 1

SimplifyValueMethod · 0.80

Tested by

no test coverage detected