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

Function nameSorter

gui/builtinContextMenus/itemMutations.py:19–23  ·  view source on GitHub ↗
(mutaplasmid)

Source from the content-addressed store, hash-verified

17
18
19def nameSorter(mutaplasmid):
20 name = mutaplasmid.shortName
21 if name.startswith(GLORIFIED_PREFIX):
22 return name[len(GLORIFIED_PREFIX):], True
23 return name, False
24
25
26class ChangeItemMutation(ContextMenuSingle):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected