Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix fixed target display intervals additional delay bug #257

Merged
merged 1 commit into from
Dec 8, 2023
Merged

Conversation

lkeegan
Copy link
Member

@lkeegan lkeegan commented Dec 8, 2023

  • repeat of condition with fixed target display intervals now continues the same fixed intervals
    • previously the time from the last target of the previous trial was not taken into account
    • this meant the first target of each repeat had a longer delay than desired
  • store the time used by most recent target for current / previous trial in TaskManager to allow this
  • extend test_task_fixed_intervals_no_user_input to include this case in tests
  • bump version to 1.3.2
  • update changelog
  • resolves fixed target display intervals: additional delay between repetitions of a condition #256

- repeat of condition with `fixed target display intervals` now continues the same fixed intervals
  - previously the time from the last target of the previous trial was not taken into account
  - this meant the first target of each repeat had a longer delay than desired
- store the time used by most recent target for current / previous trial in `TaskManager` to allow this
- extend `test_task_fixed_intervals_no_user_input` to include this case in tests
- bump version to 1.3.2
- update changelog
- add `gnome-screenshot` to linux CI deps
- resolves #256
Copy link

sonarcloud bot commented Dec 8, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link

codecov bot commented Dec 8, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (96270c0) 90.01% compared to head (e16f68b) 90.03%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #257      +/-   ##
==========================================
+ Coverage   90.01%   90.03%   +0.02%     
==========================================
  Files          19       19              
  Lines        1602     1606       +4     
==========================================
+ Hits         1442     1446       +4     
  Misses        160      160              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@lkeegan lkeegan merged commit 12c8738 into main Dec 8, 2023
18 checks passed
@lkeegan lkeegan deleted the fix_256 branch December 8, 2023 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fixed target display intervals: additional delay between repetitions of a condition
1 participant