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

int-brain-lab / iblrig / 10524660746

23 Aug 2024 11:07AM UTC coverage: 47.177% (+0.4%) from 46.79%
10524660746

Pull #710

github

74f4e8
web-flow
Merge 222cebb88 into db04546ad
Pull Request #710: 8.23.1

40 of 86 new or added lines in 4 files covered. (46.51%)

989 existing lines in 22 files now uncovered.

4052 of 8589 relevant lines covered (47.18%)

0.94 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