Skip to content

I06 magnet scaler cards and detectors - #2132

Merged
oliwenmandiamond merged 118 commits into
mainfrom
i06_magnet_scaler_cards_and_detectors
Aug 18, 2026
Merged

I06 magnet scaler cards and detectors#2132
oliwenmandiamond merged 118 commits into
mainfrom
i06_magnet_scaler_cards_and_detectors

Conversation

@oliwenmandiamond

@oliwenmandiamond oliwenmandiamond commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Fixes DiamondLightSource/sm-bluesky#339

Instructions to reviewer on how to test:

  1. Check implementation makes sense
  2. Check tests pass
  3. Check dodal connect

Checks for reviewer

  • Would the PR title make sense to a scientist on a set of release notes
  • If a new device has been added does it follow the standards
  • If changing the API for a pre-existing device, ensure that any beamlines using this device have updated their Bluesky plans accordingly
  • Have the connection tests for the relevant beamline(s) been run via dodal connect ${BEAMLINE}

Base automatically changed from add_i06_magnets to main August 7, 2026 10:44
@codecov

codecov Bot commented Aug 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.20%. Comparing base (42c78d5) to head (0db0f3b).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2132   +/-   ##
=======================================
  Coverage   99.20%   99.20%           
=======================================
  Files         367      367           
  Lines       14545    14584   +39     
=======================================
+ Hits        14429    14468   +39     
  Misses        116      116           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@oliwenmandiamond oliwenmandiamond mentioned this pull request Aug 18, 2026
4 tasks
@oliwenmandiamond
oliwenmandiamond marked this pull request as ready for review August 18, 2026 10:02
@oliwenmandiamond
oliwenmandiamond requested a review from a team as a code owner August 18, 2026 10:02
Comment thread src/dodal/devices/scaler_card.py Outdated
Comment thread src/dodal/devices/scaler_card.py Outdated
Comment thread src/dodal/devices/scaler_card.py Outdated
oliwenmandiamond and others added 3 commits August 18, 2026 13:22
Comment on lines +68 to +69
timeout = await self.integration_time.get_value() + DEFAULT_TIMEOUT
await wait_for_value(self.start_count, False, timeout)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: default_timeout probably is overkill at 10,

@oliwenmandiamond
oliwenmandiamond merged commit 91a2520 into main Aug 18, 2026
11 checks passed
@oliwenmandiamond
oliwenmandiamond deleted the i06_magnet_scaler_cards_and_detectors branch August 18, 2026 13:13
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.

Add i06-1 scaler card channels used to measure during a fastfieldscan

3 participants