Skip to content

Adds ability to read the lookup table for beam_centre X and Y - #161

Merged
noemifrisina merged 16 commits into
mainfrom
160_detector_plan
Jul 23, 2026
Merged

Adds ability to read the lookup table for beam_centre X and Y#161
noemifrisina merged 16 commits into
mainfrom
160_detector_plan

Conversation

@Matt-Carre

Copy link
Copy Markdown
Contributor

In addition to branch 160_config_server in dodal, closes #160

@codecov

codecov Bot commented May 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.82%. Comparing base (658077a) to head (c43db24).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #161      +/-   ##
==========================================
+ Coverage   98.77%   98.82%   +0.05%     
==========================================
  Files          34       34              
  Lines         652      681      +29     
==========================================
+ Hits          644      673      +29     
  Misses          8        8              

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

@Matt-Carre Matt-Carre changed the title Adds ability to read the lookup table Adds ability to read the lookup table for beam_centre X and Y May 20, 2026


def _read_eiger_lookup_table():
return config_client().get_file_contents(

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.

Should: we don't need to import the config_client directly, there is a dodal util called get_config_client that will do that for us


def _read_eiger_lookup_table():
return config_client().get_file_contents(
"/dls_sw/i19-2/software/daq_configuration/lookup/"

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.

Should: can we have a constant for this path?

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

Ended up making a couple changes to account for a few updates over the last month or so

@noemifrisina
noemifrisina merged commit 9915e44 into main Jul 23, 2026
11 checks passed
@noemifrisina
noemifrisina deleted the 160_detector_plan branch July 23, 2026 10:53
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 the config server to i19-2 and use it to read the detector LUT

2 participants