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

int-brain-lab / iblrig / 10568073180

26 Aug 2024 10:13PM UTC coverage: 47.538% (+0.7%) from 46.79%
10568073180

Pull #711

github

eeff82
web-flow
Merge 599c9edfb into ad41db25f
Pull Request #711: 8.23.2

121 of 135 new or added lines in 8 files covered. (89.63%)

1025 existing lines in 22 files now uncovered.

4084 of 8591 relevant lines covered (47.54%)

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