精度実験用スクリプトの初回動作前に移動時間を設けた
This commit is contained in:
1 parent
717bc8fe19
commit
76334e5a7c
1 file changed
+6
-1
@@ -252,6 +252,7 @@ class SessionRunner:
|
||||
stream.flush()
|
||||
|
||||
index, last_index, current_block, finished = 0, None, None, 0
|
||||
first_trial_move_pending = True
|
||||
while index < len(pending):
|
||||
row = pending[index]
|
||||
new_block = row.block != current_block
|
||||
@@ -287,7 +288,11 @@ class SessionRunner:
|
||||
log(row, "skipped")
|
||||
index, last_index = index + 1, None
|
||||
continue
|
||||
if block_change and self.block_interval > 0:
|
||||
if first_trial_move_pending:
|
||||
self.interval_audio.play("block")
|
||||
self._countdown(20.0, label="initial move")
|
||||
first_trial_move_pending = False
|
||||
elif block_change and self.block_interval > 0:
|
||||
self.interval_audio.play("block")
|
||||
self._countdown(self.block_interval, label="moving to next block")
|
||||
try:
|
||||
|
||||
Reference in new issue
Block a user