Skip to content

Commit cd35e14

Browse files
committed
fix moods question
1 parent 5cb7eb9 commit cd35e14

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

tasks/happy.py

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,15 @@ def make_trials(config):
1919

2020
@Subroutine
2121
def HappyQuest(self, task, block_num, trial_num, config=default_happy_config):
22-
# gen = Func(
23-
# make_trials,
24-
# config
25-
# )
26-
# trials = gen.result
27-
28-
trials = make_trials(config)
22+
gen = Func(
23+
make_trials,
24+
config
25+
)
26+
self.trials = gen.result
2927

3028
with UntilDone():
3129

32-
with Loop(trials) as trial:
30+
with Loop(self.trials) as trial:
3331
Wait(0.3)
3432
with Parallel():
3533
Label(text=trial.current['inst'],

0 commit comments

Comments
 (0)