MCPcopy Create free account
hub / github.com/brain-workshop/brainworkshop / __init__

Method __init__

brainworkshop.py:2324–2332  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2322
2323class ImageSelect(Menu):
2324 def __init__(self):
2325 imagesets = resourcepaths['sprites']
2326 self.new_sets = {}
2327 for image in imagesets:
2328 self.new_sets[image] = image in cfg.IMAGE_SETS
2329 options = list(self.new_sets)
2330 options.sort()
2331 vals = self.new_sets
2332 Menu.__init__(self, options, vals, title=_('Choose images to use for the Image n-back tasks.'))
2333
2334 def close(self):
2335 while cfg.IMAGE_SETS:

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected