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

Function renderMutant

service/port/muta.py:29–34  ·  view source on GitHub ↗
(mutant, firstPrefix='', prefix='')

Source from the content-addressed store, hash-verified

27
28
29def renderMutant(mutant, firstPrefix='', prefix=''):
30 exportLines = []
31 exportLines.append('{}{}'.format(firstPrefix, mutant.baseItem.name))
32 exportLines.append('{}{}'.format(prefix, mutant.mutaplasmid.item.name))
33 exportLines.append('{}{}'.format(prefix, renderMutantAttrs(mutant)))
34 return '\n'.join(exportLines)
35
36
37def renderMutantAttrs(mutant):

Callers 2

formatMutantsMethod · 0.90
activateMethod · 0.90

Calls 2

renderMutantAttrsFunction · 0.85
appendMethod · 0.45

Tested by

no test coverage detected