Skip to content

Commit 54e72a7

Browse files
committed
Add reminder screen if they skip practice
1 parent a600fd5 commit 54e72a7

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

tasks/AssBind/instruct.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,20 @@ def Instruct(self, config, text_names, run_num):#, resp_keys, touch, font_size):
9797
bottom=0, width=s(config.SKIP_SIZE[0]),
9898
height=s(config.SKIP_SIZE[1]), blocking=False,
9999
font_size=s(config.SKIP_FONT_SIZE))
100+
with Parallel():
101+
doc = 'remind'
102+
title = Label(text='Memory Task Instructions',
103+
font_size=s(config.INST_TITLE_FONT_SIZE),
104+
text_size=(s(config.TEXT_SIZE_WIDTH), None),
105+
top=self.exp.screen.center_y + s(415))
106+
Label(text=texts[doc]['text'],
107+
text_size=(s(config.TEXT_SIZE_WIDTH), None),
108+
font_size=s(config.INST_FONT_SIZE),
109+
top=(title.bottom - s(10)))
110+
111+
with UntilDone():
112+
Wait(1.0)
113+
GetResponse(keys=texts[doc]['keys'])
100114

101115
Wait(2.0)
102116

0 commit comments

Comments
 (0)