Skip to content

Commit 707adf9

Browse files
authored
Update instruct.py
Changed the formatting slightly so flanker arrays do not overlap text
1 parent 4a2ea6c commit 707adf9

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

tasks/flanker/instruct.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def Instruct(self, config, lang="E"):
8585

8686
# upper left
8787
Flanker(config, center_x=self.exp.screen.center_x - s(400),
88-
center_y=toplbl.top + s(125),
88+
center_y=toplbl.top + s(150),
8989
direction = "left",
9090
condition = "+",
9191
layers = config.LAYERS,
@@ -94,7 +94,7 @@ def Instruct(self, config, lang="E"):
9494
#stim="__<__\n_<<<_\n<<<<<\n_<<<_\n__<__\n")
9595
# upper middle
9696
Flanker(config, center_x=self.exp.screen.center_x,
97-
center_y=toplbl.top + s(125),
97+
center_y=toplbl.top + s(150),
9898
direction = "left",
9999
condition = "=",
100100
layers = config.LAYERS,
@@ -103,7 +103,7 @@ def Instruct(self, config, lang="E"):
103103
#stim="__>__\n_><>_\n><<<>\n_><>_\n__>__\n")
104104
# upper right
105105
Flanker(config, center_x=self.exp.screen.center_x + s(400),
106-
center_y=toplbl.top + s(125),
106+
center_y=toplbl.top + s(150),
107107
direction = "left",
108108
condition = "~",
109109
layers = config.LAYERS,
@@ -114,7 +114,7 @@ def Instruct(self, config, lang="E"):
114114

115115
# lower left
116116
Flanker(config, center_x=self.exp.screen.center_x - s(400),
117-
center_y=toplbl.bottom - s(125),
117+
center_y=toplbl.bottom - s(150),
118118
direction = "right",
119119
condition = "+",
120120
layers = config.LAYERS,
@@ -123,15 +123,15 @@ def Instruct(self, config, lang="E"):
123123
# WONDERING IF THIS IS AN ERROR BECAUSE IT SHOWS THE SAME ONE TWICE, I DIDN'T WRITE THIS PART
124124
# lower middle
125125
Flanker(config, center_x=self.exp.screen.center_x,
126-
center_y=toplbl.bottom - s(125),
126+
center_y=toplbl.bottom - s(150),
127127
direction = "right",
128128
condition = "=",
129129
layers = config.LAYERS,
130130
background = False)
131131
# stim="__>__\n_><>_\n><><>\n_><>_\n__>__\n")
132132
# lower right
133133
Flanker(config, center_x=self.exp.screen.center_x + s(400),
134-
center_y=toplbl.bottom - s(125),
134+
center_y=toplbl.bottom - s(150),
135135
direction = "right",
136136
condition = "~",
137137
layers = config.LAYERS,
@@ -324,4 +324,4 @@ def Instruct(self, config, lang="E"):
324324
center_y=self.exp.screen.center_y,
325325
font_size=s(config.INST_FONT_SIZE))
326326
with UntilDone():
327-
GetResponse(keys=config.CONT_KEY)
327+
GetResponse(keys=config.CONT_KEY)

0 commit comments

Comments
 (0)