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

Function addMutantAttributes

service/port/xml.py:291–294  ·  view source on GitHub ↗
(node, mutant)

Source from the content-addressed store, hash-verified

289 doc.appendChild(fittings)
290
291 def addMutantAttributes(node, mutant):
292 node.setAttribute("base_type", mutant.baseItem.name)
293 node.setAttribute("mutaplasmid", mutant.mutaplasmid.item.name)
294 node.setAttribute("mutated_attrs", renderMutantAttrs(mutant))
295
296 for i, fit in enumerate(fits):
297 if progress:

Callers 1

exportXmlFunction · 0.85

Calls 1

renderMutantAttrsFunction · 0.90

Tested by

no test coverage detected