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

Method addFitsByIDs

graphs/gui/lists.py:252–261  ·  view source on GitHub ↗
(self, fitIDs)

Source from the content-addressed store, hash-verified

250 return [w.item.ID for w in self._wrappers if w.isFit]
251
252 def addFitsByIDs(self, fitIDs):
253 sFit = Fit.getInstance()
254 for fitID in fitIDs:
255 if self.containsFitID(fitID):
256 continue
257 fit = sFit.getFit(fitID)
258 if fit is not None:
259 self.appendItem(fit)
260 self.updateView()
261 self.graphFrame.draw()
262
263
264class SourceWrapperList(BaseWrapperList):

Callers

nothing calls this directly

Calls 6

containsFitIDMethod · 0.95
appendItemMethod · 0.95
updateViewMethod · 0.95
getFitMethod · 0.80
getInstanceMethod · 0.45
drawMethod · 0.45

Tested by

no test coverage detected