Skip to content

Remove Inject - #839

Closed
DiamondJoseph wants to merge 3 commits into
mainfrom
remove-inject
Closed

DiamondJoseph wants to merge 3 commits into
mainfrom
remove-inject

Conversation

@DiamondJoseph

@DiamondJoseph DiamondJoseph commented Oct 14, 2024 •

Copy link
Copy Markdown
Contributor

Fixes #599, #845 current issues with inject being broken currently.

Instead, we should pass in the instance of the device and decorate our plans to ensure devices are connected prior to running.

Instructions to reviewer on how to test:

  1. Do thing x
  2. Confirm thing y happens

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}

Ware, Joseph (DLSLtd,RAL,LSCI) added 2 commits October 14, 2024 12:11
@codecov

codecov Bot commented Oct 14, 2024 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.02%. Comparing base (9cb9596) to head (d5f61b8).
Report is 85 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #839      +/-   ##
==========================================
- Coverage   95.02%   95.02%   -0.01%     
==========================================
  Files         117      117              
  Lines        4765     4762       -3     
==========================================
- Hits         4528     4525       -3     
  Misses        237      237              

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

@DominicOram

Copy link
Copy Markdown
Contributor

Is this needed now that DiamondLightSource/blueapi#773 is done?

@DiamondJoseph

Copy link
Copy Markdown
Contributor Author

@DominicOram I'd still like a more formal replacement for inject and marking functions to be injected but no, I'll close this PR and track on #874

@DiamondJoseph
DiamondJoseph deleted the remove-inject branch May 23, 2025 13:49
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.

2 participants