• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

int-brain-lab / iblrig / 14217451843

02 Apr 2025 10:30AM UTC coverage: 47.508% (+0.7%) from 46.79%
14217451843

Pull #779

github

78b296
web-flow
Merge bac5de33d into 645e4a2a0
Pull Request #779: Video

9 of 94 new or added lines in 2 files covered. (9.57%)

1096 existing lines in 22 files now uncovered.

4308 of 9068 relevant lines covered (47.51%)

0.95 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

85.71
/iblrig_tasks/_iblrig_tasks_ImagingChoiceWorld/task.py
1
from iblrig.base_choice_world import BiasedChoiceWorldSession
2✔
2
from iblrig.misc import get_task_arguments, truncated_exponential
2✔
3

4

5
class Session(BiasedChoiceWorldSession):
2✔
6
    protocol_name = '_iblrig_tasks_imagingChoiceWorld'
2✔
7

8
    @staticmethod
2✔
9
    def draw_quiescent_period() -> float:
2✔
10
        """
11
        Draw the quiescent period.
12

13
        For this task we double the quiescence period texp draw and remove the absolute offset of 200ms.
14
        The resulting is a truncated exp distribution between 400ms and 1 sec
15

16
        TODO: This is a broken overload and never actually called - quiescent periods are not changed from BiasedCW
17
        """
UNCOV
18
        return truncated_exponential(scale=0.35 * 2, min_value=0.2 * 2, max_value=0.5 * 2)
×
19

20

21
if __name__ == '__main__':  # pragma: no cover
22
    kwargs = get_task_arguments(parents=[Session.extra_parser()])
23
    sess = Session(**kwargs)
24
    sess.run()
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc