Repository navigation
Move beamline specific devies from dodal.devices.iXX to dodal.devices.beamlines.iXX - #1866
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1866 +/- ##
==========================================
- Coverage 99.14% 99.14% -0.01%
==========================================
Files 304 304
Lines 11510 11509 -1
==========================================
- Hits 11412 11411 -1
Misses 98 98 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
DominicOram
left a comment
There was a problem hiding this comment.
Looks good to me. I personally don't really think the new location makes it any more organised but happy if others feel it does. Just the one comment about documenting it, which is a bit of scope creep but might as well whilst we're here. Can you then also post on #athena-components so people are aware of the change and can fix their scripts
|
|
||
| **Only if no suitable class exists**, create a new device that connects to the required signals. During review, refactor to align with existing devices if needed, using inheritance or composition to deduplicate code. | ||
|
|
||
| Writing a device class |
There was a problem hiding this comment.
Should: Can you add something here about when devices should be in the top level and when they should be under devices.beamlines.xxx?
Yes, once merged I will post in athena and also go through existing PR's and make sure devices are in correct place |
Move
dodal.devices.iXXandtests.devices.iXXtododal.devices.beamlines.iXXandtests.devices.beamlines.iXXrespectivelyThis brings more structure to the repo so you are able to navigate to more specific devices without getting lost at the number of them
Instructions to reviewer on how to test:
Checks for reviewer
dodal connect ${BEAMLINE}