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

Method setTargetProfile

service/fit.py:411–420  ·  view source on GitHub ↗
(self, fitID, pattern)

Source from the content-addressed store, hash-verified

409 return fit.targetProfile
410
411 def setTargetProfile(self, fitID, pattern):
412 pyfalog.debug("Set target resist for fit ID: {0}", fitID)
413 if fitID is None:
414 return
415
416 fit = eos.db.getFit(fitID)
417 fit.targetProfile = pattern
418 eos.db.commit()
419
420 self.recalc(fit)
421
422 @staticmethod
423 def getDamagePattern(fitID):

Callers 1

handleResistSwitchMethod · 0.80

Calls 2

recalcMethod · 0.95
getFitMethod · 0.80

Tested by

no test coverage detected