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

Method setRahPattern

service/fit.py:460–466  ·  view source on GitHub ↗
(self, fitID, module, pattern)

Source from the content-addressed store, hash-verified

458 self.recalc(fit)
459
460 def setRahPattern(self, fitID, module, pattern):
461 pyfalog.debug("Set as pattern for fit ID: {0}", fitID)
462 if fitID is None:
463 return
464 module.rahPatternOverride = pattern
465 fit = eos.db.getFit(fitID)
466 self.recalc(fit)
467
468 def checkStates(self, fit, base):
469 pyfalog.debug("Check states for fit ID: {0}", fit)

Callers 1

handlePatternSwitchMethod · 0.80

Calls 2

recalcMethod · 0.95
getFitMethod · 0.80

Tested by

no test coverage detected