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

Method update

brainworkshop.py:3216–3221  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3214 anchor_x='right', anchor_y='top', batch=batch)
3215 self.update()
3216 def update(self):
3217 if mode.started or mode.manual or CLINICAL_MODE:
3218 self.label.text = ''
3219 else:
3220 self.label.text = _(u'Thresholds:\nRaise level: \u2265 %i%%\nLower level: < %i%%') % \
3221 (get_threshold_advance(), get_threshold_fallback()) # '\u2265' = '>='
3222
3223# this controls the "press space to begin session #" text.
3224class SpaceLabel:

Callers 1

__init__Method · 0.95

Calls 2

get_threshold_advanceFunction · 0.85
get_threshold_fallbackFunction · 0.85

Tested by

no test coverage detected