Skip to content

Prepare for Transmission System Logic - #2220

Merged
CoePaul merged 1 commit into
mainfrom
dodal_2123_part1
Oct 1, 2026
Merged

CoePaul merged 1 commit into
mainfrom
dodal_2123_part1

Conversation

@CoePaul

@CoePaul CoePaul commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor
  • Before transmission system module is added:
    • fix typo in transmission attenuation convertor ( attenutation is a not a word )
    • move attenuator_motor_positions to its own file outside of access_controlled module ( after all positions can be read via access control, so their old location was confusing )
    • upgrade attenuator_motor_positions to use the | or operator to allow each subsystem in the transmission system to "contribute" its motor positions smoothly to the accumulated report of the readout of all motors

Part of #2123

Instructions to reviewer on how to test:

  1. See if the description explains the change
  2. Confirm the tests all pass and the linter is happy
  3. See if the names used in the code make sense to a developer

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}

@CoePaul
CoePaul requested a review from a team as a code owner September 25, 2026 13:37
@CoePaul CoePaul self-assigned this Sep 25, 2026
@codecov

codecov Bot commented Sep 25, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.28%. Comparing base (c5d4d61) to head (1297bc7).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2220   +/-   ##
=======================================
  Coverage   99.28%   99.28%           
=======================================
  Files         367      368    +1     
  Lines       14463    14483   +20     
=======================================
+ Hits        14360    14380   +20     
  Misses        103      103           

☔ 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.

@CoePaul
CoePaul force-pushed the dodal_2123_part1 branch 2 times, most recently from 6d2a421 to 19d50c2 Compare September 25, 2026 14:06
@CoePaul CoePaul added the python Pull requests that update Python code label Sep 26, 2026
@CoePaul
CoePaul force-pushed the dodal_2123_part1 branch 3 times, most recently from 8f5f9eb to aeaaa77 Compare September 30, 2026 15:28

@noemifrisina noemifrisina left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

lgtm, thanks
Just need to update the branch before merging

* Before transmission system module is added:
  - fix typo in transmission attenuation convertor ( attenutation is a not a word )
  - move attenuator_motor_positions to its own file outside of access_controlled module
     ( after all positions can be read with going via access control,
       so their old location was confusing )
  - upgrade attenuator_motor_positions to use the | or operator to allow
     each subsystem in the transmission system to "contribute" its motor
     positions smoothly to the accumulated report of the readout of all motors
@CoePaul
CoePaul merged commit d6f49ae into main Oct 1, 2026
19 of 20 checks passed
@CoePaul
CoePaul deleted the dodal_2123_part1 branch October 1, 2026 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

i19-1 i19-2 python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants