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

Class MutationExportData

service/port/eft.py:52–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50
51
52class MutationExportData:
53
54 def __init__(self):
55 self.reference = 1
56 self.mutants = {}
57
58 def formatMutants(self):
59 mutationLines = []
60 if self.mutants:
61 for mutantReference in sorted(self.mutants):
62 mutant = self.mutants[mutantReference]
63 mutationLines.append(renderMutant(mutant, firstPrefix='[{}] '.format(mutantReference), prefix=' '))
64 return '\n'.join(mutationLines)
65
66
67def exportEft(fit, options, callback):

Callers 3

exportEftFunction · 0.85
exportModulesFunction · 0.85
exportDronesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected