Skip to content

Commit 9028d40

Browse files
committed
Update task.py
1 parent 13211a6 commit 9028d40

File tree

1 file changed

+2
-3
lines changed
  • iblrig_custom_tasks/samuel_tonotopicMapping

1 file changed

+2
-3
lines changed

iblrig_custom_tasks/samuel_tonotopicMapping/task.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
import logging
32

43
import numpy as np
@@ -33,7 +32,7 @@ def __init__(self, *args, **kwargs):
3332

3433
# calculate repetitions per state machine run (253 states max)
3534
self.repetitions = []
36-
max_reps_per_trial = (253 // self.n_frequencies)
35+
max_reps_per_trial = 253 // self.n_frequencies
3736
reps_remaining = self.task_params['n_reps_per_freq']
3837
while reps_remaining > 0:
3938
self.repetitions.append(min(max_reps_per_trial, reps_remaining))
@@ -126,7 +125,7 @@ def _run(self):
126125
self.bpod.session.current_trial.export()
127126

128127

129-
if __name__ == '__main__': # pragma: no cover
128+
if __name__ == '__main__':
130129
kwargs = get_task_arguments()
131130
sess = Session(**kwargs)
132131
sess.run()

0 commit comments

Comments
 (0)