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

Method processTargetProfileChange

service/fit.py:288–298  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

286 return fitIDs
287
288 def processTargetProfileChange(self):
289 fitIDs = set()
290 for fit in set(self._loadedFits):
291 if fit is None:
292 continue
293 if not fit.targetProfile:
294 continue
295 if fit.calculated:
296 self.recalc(fit)
297 fitIDs.add(fit.ID)
298 return fitIDs
299
300 def switchFit(self, fitID):
301 pyfalog.debug("Switching fit to fit ID: {0}", fitID)

Callers 1

processChangesMethod · 0.80

Calls 1

recalcMethod · 0.95

Tested by

no test coverage detected