dls-dodal 1.30.0__tar.gz → 1.31.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (337) hide show
  1. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/PKG-INFO +4 -4
  2. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/pyproject.toml +5 -3
  3. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dls_dodal.egg-info/PKG-INFO +4 -4
  4. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dls_dodal.egg-info/SOURCES.txt +8 -1
  5. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dls_dodal.egg-info/requires.txt +3 -3
  6. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/_version.py +2 -2
  7. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/beamline_specific_utils/i03.py +1 -4
  8. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/beamlines/__init__.py +4 -0
  9. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/beamlines/i03.py +8 -8
  10. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/beamlines/i04.py +10 -9
  11. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/beamlines/i13_1.py +7 -7
  12. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/beamlines/i22.py +18 -18
  13. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/beamlines/p38.py +14 -14
  14. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/beamlines/p45.py +11 -11
  15. dls_dodal-1.31.0/src/dodal/beamlines/training_rig.py +64 -0
  16. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/common/beamlines/beamline_parameters.py +5 -4
  17. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/common/beamlines/beamline_utils.py +9 -9
  18. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/common/types.py +4 -2
  19. dls_dodal-1.31.0/src/dodal/common/udc_directory_provider.py +54 -0
  20. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/common/visit.py +59 -60
  21. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/CTAB.py +1 -1
  22. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/aperture.py +1 -1
  23. dls_dodal-1.31.0/src/dodal/devices/aperturescatterguard.py +234 -0
  24. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/areadetector/plugins/MJPG.py +2 -1
  25. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/backlight.py +12 -1
  26. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/dcm.py +1 -1
  27. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/detector/detector.py +31 -30
  28. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/detector/detector_motion.py +1 -1
  29. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/fast_grid_scan.py +14 -24
  30. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/focusing_mirror.py +2 -2
  31. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/i22/dcm.py +1 -1
  32. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/i22/fswitch.py +6 -2
  33. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/i22/nxsas.py +32 -11
  34. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/i24/aperture.py +1 -1
  35. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/i24/beamstop.py +1 -1
  36. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/i24/dcm.py +1 -1
  37. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/i24/i24_detector_motion.py +1 -1
  38. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/i24/pmac.py +24 -8
  39. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/linkam3.py +1 -1
  40. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/motors.py +1 -1
  41. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/oav/oav_to_redis_forwarder.py +46 -17
  42. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/robot.py +1 -2
  43. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/scatterguard.py +1 -1
  44. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/scintillator.py +1 -1
  45. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/slits.py +1 -1
  46. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/smargon.py +1 -1
  47. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/tetramm.py +20 -16
  48. dls_dodal-1.31.0/src/dodal/devices/training_rig/sample_stage.py +10 -0
  49. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/turbo_slit.py +1 -1
  50. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/undulator.py +1 -1
  51. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/util/adjuster_plans.py +1 -1
  52. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/util/save_panda.py +1 -1
  53. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/util/test_utils.py +1 -1
  54. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/xbpm_feedback.py +1 -2
  55. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/xspress3/xspress3.py +1 -1
  56. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/zebra.py +5 -0
  57. dls_dodal-1.31.0/src/dodal/devices/zebra_controlled_shutter.py +53 -0
  58. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/zocalo/zocalo_results.py +6 -2
  59. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/log.py +32 -10
  60. dls_dodal-1.31.0/src/dodal/plans/check_topup.py +137 -0
  61. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/plans/data_session_metadata.py +8 -10
  62. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/plans/motor_util_plans.py +1 -1
  63. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/common/beamlines/test_beamline_utils.py +2 -2
  64. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/common/test_coordination.py +3 -2
  65. dls_dodal-1.31.0/tests/common/test_udc_directory_provider.py +65 -0
  66. dls_dodal-1.31.0/tests/common/test_visit.py +32 -0
  67. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/conftest.py +30 -0
  68. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/i22/test_metadataholder.py +4 -6
  69. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/system_tests/test_aperturescatterguard_system.py +18 -56
  70. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/system_tests/test_eiger_system.py +4 -2
  71. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/system_tests/test_oav_system.py +2 -1
  72. dls_dodal-1.31.0/tests/devices/system_tests/test_oav_to_redis_system.py +61 -0
  73. dls_dodal-1.31.0/tests/devices/training_rig/test_sample_stage.py +30 -0
  74. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/unit_tests/areadetector/plugins/test_MJPG.py +1 -0
  75. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/unit_tests/conftest.py +0 -17
  76. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/unit_tests/detector/test_det_resolution.py +27 -18
  77. dls_dodal-1.31.0/tests/devices/unit_tests/detector/test_detector.py +175 -0
  78. dls_dodal-1.31.0/tests/devices/unit_tests/oav/test_oav_to_redis_forwarder.py +140 -0
  79. dls_dodal-1.31.0/tests/devices/unit_tests/test_aperture_scatterguard.py +381 -0
  80. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/unit_tests/test_backlight.py +23 -3
  81. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/unit_tests/test_eiger.py +6 -5
  82. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/unit_tests/test_oav.py +15 -11
  83. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/unit_tests/test_shutter.py +8 -1
  84. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/unit_tests/test_tetramm.py +41 -21
  85. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/unit_tests/test_zocalo_results.py +1 -1
  86. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/unit_tests/util/test_beamline_specific_utils.py +3 -11
  87. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/unit_tests/util/test_save_panda.py +1 -1
  88. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/fake_beamline_all_devices_raise_exception.py +1 -1
  89. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/fake_beamline_some_devices_working.py +1 -1
  90. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/plans/test_motor_util_plans.py +8 -3
  91. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/plans/test_topup_plan.py +56 -1
  92. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/preprocessors/test_filesystem_metadata.py +25 -32
  93. dls_dodal-1.31.0/tests/test_data/topup_long_delay.txt +2 -0
  94. dls_dodal-1.31.0/tests/test_data/topup_short_params.txt +2 -0
  95. dls_dodal-1.31.0/tests/unit_tests/__init__.py +0 -0
  96. dls_dodal-1.30.0/src/dodal/common/udc_directory_provider.py +0 -47
  97. dls_dodal-1.30.0/src/dodal/devices/aperturescatterguard.py +0 -282
  98. dls_dodal-1.30.0/src/dodal/devices/beamstop.py +0 -8
  99. dls_dodal-1.30.0/src/dodal/devices/zebra_controlled_shutter.py +0 -38
  100. dls_dodal-1.30.0/src/dodal/plans/check_topup.py +0 -82
  101. dls_dodal-1.30.0/tests/common/test_udc_directory_provider.py +0 -79
  102. dls_dodal-1.30.0/tests/devices/unit_tests/detector/test_detector.py +0 -114
  103. dls_dodal-1.30.0/tests/devices/unit_tests/oav/test_oav_to_redis_forwarder.py +0 -71
  104. dls_dodal-1.30.0/tests/devices/unit_tests/test_aperture_scatterguard.py +0 -369
  105. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/.copier-answers.yml +0 -0
  106. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/.devcontainer/devcontainer.json +0 -0
  107. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/.github/CONTRIBUTING.md +0 -0
  108. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/.github/ISSUE_TEMPLATE/issue_template.md +0 -0
  109. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/.github/actions/install_requirements/action.yml +0 -0
  110. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/.github/dependabot.yml +0 -0
  111. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/.github/pages/index.html +0 -0
  112. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/.github/pages/make_switcher.py +0 -0
  113. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/.github/workflows/_check.yml +0 -0
  114. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/.github/workflows/_dist.yml +0 -0
  115. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/.github/workflows/_docs.yml +0 -0
  116. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/.github/workflows/_pypi.yml +0 -0
  117. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/.github/workflows/_release.yml +0 -0
  118. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/.github/workflows/_test.yml +0 -0
  119. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/.github/workflows/_tox.yml +0 -0
  120. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/.github/workflows/ci.yml +0 -0
  121. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/.github/workflows/periodic.yml +0 -0
  122. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/.gitignore +0 -0
  123. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/.pre-commit-config.yaml +0 -0
  124. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/.vscode/extensions.json +0 -0
  125. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/.vscode/launch.json +0 -0
  126. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/.vscode/settings.json +0 -0
  127. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/.vscode/tasks.json +0 -0
  128. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/Dockerfile +0 -0
  129. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/LICENSE +0 -0
  130. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/README.md +0 -0
  131. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/catalog-info.yaml +0 -0
  132. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/docs/_templates/autosummary/class.rst +0 -0
  133. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/docs/_templates/autosummary/module.rst +0 -0
  134. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/docs/assets/zocalo.png +0 -0
  135. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/docs/conf.py +0 -0
  136. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/docs/explanations/decisions/0001-record-architecture-decisions.md +0 -0
  137. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/docs/explanations/decisions/0002-switched-to-python-copier-template.md +0 -0
  138. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/docs/explanations/decisions/COPYME +0 -0
  139. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/docs/explanations/decisions.md +0 -0
  140. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/docs/explanations.md +0 -0
  141. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/docs/genindex.md +0 -0
  142. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/docs/how-to/build-docs.md +0 -0
  143. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/docs/how-to/contribute.md +0 -0
  144. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/docs/how-to/coverage.md +0 -0
  145. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/docs/how-to/create-beamline.rst +0 -0
  146. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/docs/how-to/dev-install.md +0 -0
  147. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/docs/how-to/excalidraw.md +0 -0
  148. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/docs/how-to/lint.md +0 -0
  149. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/docs/how-to/lock-requirements.md +0 -0
  150. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/docs/how-to/make-new-ophyd-async-device.rst +0 -0
  151. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/docs/how-to/make-release.md +0 -0
  152. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/docs/how-to/move-code.rst +0 -0
  153. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/docs/how-to/pypi.md +0 -0
  154. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/docs/how-to/run-tests.md +0 -0
  155. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/docs/how-to/static-analysis.md +0 -0
  156. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/docs/how-to/update-template.md +0 -0
  157. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/docs/how-to/zocalo.rst +0 -0
  158. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/docs/how-to.md +0 -0
  159. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/docs/images/dls-logo.svg +0 -0
  160. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/docs/images/excalidraw-example.svg +0 -0
  161. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/docs/index.md +0 -0
  162. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/docs/reference/api.md +0 -0
  163. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/docs/reference/device-standards.rst +0 -0
  164. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/docs/reference/standards.rst +0 -0
  165. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/docs/reference.md +0 -0
  166. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/docs/tutorials/get_started.rst +0 -0
  167. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/docs/tutorials/installation.md +0 -0
  168. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/docs/tutorials.md +0 -0
  169. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/pull_request_template.md +0 -0
  170. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/setup.cfg +0 -0
  171. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/__init__.py +0 -0
  172. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dls_dodal.egg-info/dependency_links.txt +0 -0
  173. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dls_dodal.egg-info/entry_points.txt +0 -0
  174. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dls_dodal.egg-info/top_level.txt +0 -0
  175. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/__init__.py +0 -0
  176. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/__main__.py +0 -0
  177. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/adsim.py +0 -0
  178. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/beamline_specific_utils/__init__.py +0 -0
  179. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/beamlines/README.md +0 -0
  180. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/beamlines/i04_1.py +0 -0
  181. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/beamlines/i20_1.py +0 -0
  182. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/beamlines/i23.py +0 -0
  183. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/beamlines/i24.py +0 -0
  184. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/beamlines/p99.py +0 -0
  185. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/cli.py +0 -0
  186. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/common/__init__.py +0 -0
  187. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/common/beamlines/__init__.py +0 -0
  188. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/common/beamlines/device_helpers.py +0 -0
  189. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/common/coordination.py +0 -0
  190. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/common/maths.py +0 -0
  191. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/__init__.py +0 -0
  192. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/adsim.py +0 -0
  193. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/areadetector/__init__.py +0 -0
  194. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/areadetector/adaravis.py +0 -0
  195. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/areadetector/adsim.py +0 -0
  196. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/areadetector/adutils.py +0 -0
  197. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/attenuator.py +0 -0
  198. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/cryostream.py +0 -0
  199. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/detector/__init__.py +0 -0
  200. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/detector/det_dim_constants.py +0 -0
  201. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/detector/det_dist_to_beam_converter.py +0 -0
  202. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/detector/det_resolution.py +0 -0
  203. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/eiger.py +0 -0
  204. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/eiger_odin.py +0 -0
  205. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/fluorescence_detector_motion.py +0 -0
  206. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/flux.py +0 -0
  207. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/hutch_shutter.py +0 -0
  208. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/i03/__init__.py +0 -0
  209. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/i04/transfocator.py +0 -0
  210. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/i20_1/__init__.py +0 -0
  211. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/i24/__init__.py +0 -0
  212. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/i24/dual_backlight.py +0 -0
  213. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/i24/i24_vgonio.py +0 -0
  214. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/ipin.py +0 -0
  215. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/logging_ophyd_device.py +0 -0
  216. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/oav/__init__.py +0 -0
  217. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/oav/grid_overlay.py +0 -0
  218. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/oav/microns_for_zoom_levels.json +0 -0
  219. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/oav/oav_calculations.py +0 -0
  220. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/oav/oav_detector.py +0 -0
  221. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/oav/oav_errors.py +0 -0
  222. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/oav/oav_parameters.py +0 -0
  223. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/oav/pin_image_recognition/__init__.py +0 -0
  224. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/oav/pin_image_recognition/manual_test.py +0 -0
  225. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/oav/pin_image_recognition/utils.py +0 -0
  226. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/oav/utils.py +0 -0
  227. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/p45.py +0 -0
  228. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/p99/__init__.py +0 -0
  229. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/p99/sample_stage.py +0 -0
  230. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/s4_slit_gaps.py +0 -0
  231. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/status.py +0 -0
  232. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/synchrotron.py +0 -0
  233. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/thawer.py +0 -0
  234. {dls_dodal-1.30.0/src/dodal/devices/util → dls_dodal-1.31.0/src/dodal/devices/training_rig}/__init__.py +0 -0
  235. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/undulator_dcm.py +0 -0
  236. {dls_dodal-1.30.0/tests → dls_dodal-1.31.0/src/dodal/devices/util}/__init__.py +0 -0
  237. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/util/epics_util.py +0 -0
  238. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/util/lookup_tables.py +0 -0
  239. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/util/motor_utils.py +0 -0
  240. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/webcam.py +0 -0
  241. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/xspress3/xspress3_channel.py +0 -0
  242. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/zocalo/__init__.py +0 -0
  243. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/devices/zocalo/zocalo_interaction.py +0 -0
  244. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/parameters/experiment_parameter_base.py +0 -0
  245. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/src/dodal/utils.py +0 -0
  246. {dls_dodal-1.30.0/tests/beamlines → dls_dodal-1.31.0/tests}/__init__.py +0 -0
  247. {dls_dodal-1.30.0/tests/beamlines/unit_tests → dls_dodal-1.31.0/tests/beamlines}/__init__.py +0 -0
  248. {dls_dodal-1.30.0/tests/common → dls_dodal-1.31.0/tests/beamlines/unit_tests}/__init__.py +0 -0
  249. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/beamlines/unit_tests/test_i03.py +0 -0
  250. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/beamlines/unit_tests/test_i24.py +0 -0
  251. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/beamlines/unit_tests/test_mapping.py +0 -0
  252. {dls_dodal-1.30.0/tests/common/beamlines → dls_dodal-1.31.0/tests/common}/__init__.py +0 -0
  253. {dls_dodal-1.30.0/tests/devices → dls_dodal-1.31.0/tests/common/beamlines}/__init__.py +0 -0
  254. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/common/beamlines/test_beamline_parameters.py +0 -0
  255. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/common/beamlines/test_device_helpers.py +0 -0
  256. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/common/beamlines/test_device_instantiation.py +0 -0
  257. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/common/test_maths.py +0 -0
  258. {dls_dodal-1.30.0/tests/devices/i04 → dls_dodal-1.31.0/tests/devices}/__init__.py +0 -0
  259. {dls_dodal-1.30.0/tests/devices/system_tests → dls_dodal-1.31.0/tests/devices/i04}/__init__.py +0 -0
  260. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/i04/test_transfocator.py +0 -0
  261. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/i22/test_dcm.py +0 -0
  262. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/i22/test_fswitch.py +0 -0
  263. {dls_dodal-1.30.0/tests/devices/unit_tests → dls_dodal-1.31.0/tests/devices/system_tests}/__init__.py +0 -0
  264. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/system_tests/test_gridscan_system.py +0 -0
  265. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/system_tests/test_slit_gaps_system.py +0 -0
  266. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/system_tests/test_smargon_system.py +0 -0
  267. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/system_tests/test_synchrotron_system.py +0 -0
  268. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/system_tests/test_undulator_system.py +0 -0
  269. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/system_tests/test_zebra_system.py +0 -0
  270. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/system_tests/test_zocalo_results.py +0 -0
  271. {dls_dodal-1.30.0/tests/devices/unit_tests/i24 → dls_dodal-1.31.0/tests/devices/unit_tests}/__init__.py +0 -0
  272. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/unit_tests/detector/test_det_dim_constants.py +0 -0
  273. {dls_dodal-1.30.0/tests/devices/unit_tests/oav → dls_dodal-1.31.0/tests/devices/unit_tests/i24}/__init__.py +0 -0
  274. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/unit_tests/i24/test_dual_backlight.py +0 -0
  275. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/unit_tests/i24/test_pmac.py +0 -0
  276. {dls_dodal-1.30.0/tests/devices/unit_tests/util → dls_dodal-1.31.0/tests/devices/unit_tests/oav}/__init__.py +0 -0
  277. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/unit_tests/oav/image_recognition/test_pin_tip_detect.py +0 -0
  278. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/unit_tests/oav/image_recognition/test_pin_tip_detect_utils.py +0 -0
  279. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/unit_tests/oav/test_oav.py +0 -0
  280. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/unit_tests/oav/test_oav_parameters.py +0 -0
  281. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/unit_tests/p99/test_p99_stage.py +0 -0
  282. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/unit_tests/test_OAVCentring.json +0 -0
  283. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/unit_tests/test_aperture.py +0 -0
  284. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/unit_tests/test_attenuator.py +0 -0
  285. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/unit_tests/test_bart_robot.py +0 -0
  286. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/unit_tests/test_beam_converter.py +0 -0
  287. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/unit_tests/test_beamline_undulator_to_gap_lookup_table.txt +0 -0
  288. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/unit_tests/test_daq_configuration/domain/beamlineParameters +0 -0
  289. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/unit_tests/test_daq_configuration/lookup/BeamLineEnergy_DCM_Pitch_converter.txt +0 -0
  290. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/unit_tests/test_daq_configuration/lookup/BeamLineEnergy_DCM_Roll_converter.txt +0 -0
  291. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/unit_tests/test_dcm.py +0 -0
  292. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/unit_tests/test_display.configuration +0 -0
  293. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/unit_tests/test_focusing_mirror.py +0 -0
  294. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/unit_tests/test_grid_overlay.py +0 -0
  295. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/unit_tests/test_gridscan.py +0 -0
  296. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/unit_tests/test_hutch_shutter.py +0 -0
  297. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/unit_tests/test_jCameraManZoomLevels.xml +0 -0
  298. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/unit_tests/test_linkam3.py +0 -0
  299. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/unit_tests/test_lookup_table.txt +0 -0
  300. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/unit_tests/test_lookup_table_2.txt +0 -0
  301. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/unit_tests/test_odin.py +0 -0
  302. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/unit_tests/test_slits.py +0 -0
  303. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/unit_tests/test_smargon.py +0 -0
  304. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/unit_tests/test_status.py +0 -0
  305. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/unit_tests/test_synchrotron.py +0 -0
  306. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/unit_tests/test_thawer.py +0 -0
  307. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/unit_tests/test_undulator.py +0 -0
  308. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/unit_tests/test_undulator_dcm.py +0 -0
  309. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/unit_tests/test_utils.py +0 -0
  310. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/unit_tests/test_webcam.py +0 -0
  311. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/unit_tests/test_xbpm_feedback.py +0 -0
  312. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/unit_tests/test_xspress3.py +0 -0
  313. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/unit_tests/test_zebra.py +0 -0
  314. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/unit_tests/test_zocalo_interaction.py +0 -0
  315. {dls_dodal-1.30.0/tests/fake_zocalo → dls_dodal-1.31.0/tests/devices/unit_tests/util}/__init__.py +0 -0
  316. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/unit_tests/util/test_adjuster_plans.py +0 -0
  317. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/devices/unit_tests/util/test_lookup_tables.py +0 -0
  318. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/fake_beamline.py +0 -0
  319. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/fake_beamline_broken_dependency.py +0 -0
  320. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/fake_beamline_dependencies.py +0 -0
  321. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/fake_beamline_disordered_dependencies.py +0 -0
  322. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/fake_beamline_misbehaving_builtins.py +0 -0
  323. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/fake_zocalo/README.rst +0 -0
  324. {dls_dodal-1.30.0/tests/unit_tests → dls_dodal-1.31.0/tests/fake_zocalo}/__init__.py +0 -0
  325. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/fake_zocalo/__main__.py +0 -0
  326. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/fake_zocalo/dls_start_fake_zocalo.sh +0 -0
  327. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/test_cli.py +0 -0
  328. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/test_data/bad_beamlineParameters +0 -0
  329. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/test_data/i04_beamlineParameters +0 -0
  330. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/test_data/test_beamline_dcm_roll_converter.txt +0 -0
  331. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/test_data/test_beamline_dcm_roll_converter_non_monotonic.txt +0 -0
  332. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/test_data/test_beamline_dcm_roll_converter_reversed.txt +0 -0
  333. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/test_data/test_beamline_parameters.txt +0 -0
  334. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/test_data/test_det_dist_converter.txt +0 -0
  335. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/test_utils.py +0 -0
  336. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/unit_tests/test_cli.py +0 -0
  337. {dls_dodal-1.30.0 → dls_dodal-1.31.0}/tests/unit_tests/test_log.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dls-dodal
3
- Version: 1.30.0
3
+ Version: 1.31.0
4
4
  Summary: Ophyd devices and other utils that could be used across DLS beamlines
5
5
  Author-email: Dominic Oram <dominic.oram@diamond.ac.uk>
6
6
  License: Apache License
@@ -216,15 +216,15 @@ Description-Content-Type: text/markdown
216
216
  License-File: LICENSE
217
217
  Requires-Dist: click
218
218
  Requires-Dist: ophyd
219
- Requires-Dist: ophyd-async<0.4.0
219
+ Requires-Dist: ophyd-async>=0.5.2
220
220
  Requires-Dist: bluesky
221
221
  Requires-Dist: pyepics
222
222
  Requires-Dist: dataclasses-json
223
223
  Requires-Dist: pillow
224
- Requires-Dist: zocalo<1.0.0,>=0.32.0
224
+ Requires-Dist: zocalo>=1.0.0
225
225
  Requires-Dist: requests
226
226
  Requires-Dist: graypy
227
- Requires-Dist: pydantic
227
+ Requires-Dist: pydantic>=2.0
228
228
  Requires-Dist: opencv-python-headless
229
229
  Requires-Dist: aioca
230
230
  Requires-Dist: p4p
@@ -15,15 +15,15 @@ description = "Ophyd devices and other utils that could be used across DLS beaml
15
15
  dependencies = [
16
16
  "click",
17
17
  "ophyd",
18
- "ophyd-async<0.4.0", # Need to pin to <0.4.0 as this requires pydantic>2.0 see https://github.com/DiamondLightSource/dodal/issues/679
18
+ "ophyd-async>=0.5.2",
19
19
  "bluesky",
20
20
  "pyepics",
21
21
  "dataclasses-json",
22
22
  "pillow",
23
- "zocalo>=0.32.0,<1.0.0", # TODO remove pin against <1.0.0, see #679
23
+ "zocalo>=1.0.0",
24
24
  "requests",
25
25
  "graypy",
26
- "pydantic",
26
+ "pydantic>=2.0",
27
27
  "opencv-python-headless", # For pin-tip detection.
28
28
  "aioca", # Required for CA support with ophyd-async.
29
29
  "p4p", # Required for PVA support with ophyd-async.
@@ -110,6 +110,8 @@ filterwarnings = [
110
110
  "ignore:dep_util is Deprecated. Use functions from setuptools instead.:DeprecationWarning",
111
111
  # Ignore deprecation warning from zocalo
112
112
  "ignore:.*pkg_resources.*:DeprecationWarning",
113
+ # Ignore deprecation warning from setuptools_dso (remove when https://github.com/epics-base/setuptools_dso/issues/36 is released)
114
+ "ignore::DeprecationWarning:wheel",
113
115
  ]
114
116
  # Doctest python code in docs, python code in src docstrings, test functions in tests
115
117
  testpaths = "docs src tests"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dls-dodal
3
- Version: 1.30.0
3
+ Version: 1.31.0
4
4
  Summary: Ophyd devices and other utils that could be used across DLS beamlines
5
5
  Author-email: Dominic Oram <dominic.oram@diamond.ac.uk>
6
6
  License: Apache License
@@ -216,15 +216,15 @@ Description-Content-Type: text/markdown
216
216
  License-File: LICENSE
217
217
  Requires-Dist: click
218
218
  Requires-Dist: ophyd
219
- Requires-Dist: ophyd-async<0.4.0
219
+ Requires-Dist: ophyd-async>=0.5.2
220
220
  Requires-Dist: bluesky
221
221
  Requires-Dist: pyepics
222
222
  Requires-Dist: dataclasses-json
223
223
  Requires-Dist: pillow
224
- Requires-Dist: zocalo<1.0.0,>=0.32.0
224
+ Requires-Dist: zocalo>=1.0.0
225
225
  Requires-Dist: requests
226
226
  Requires-Dist: graypy
227
- Requires-Dist: pydantic
227
+ Requires-Dist: pydantic>=2.0
228
228
  Requires-Dist: opencv-python-headless
229
229
  Requires-Dist: aioca
230
230
  Requires-Dist: p4p
@@ -93,6 +93,7 @@ src/dodal/beamlines/i24.py
93
93
  src/dodal/beamlines/p38.py
94
94
  src/dodal/beamlines/p45.py
95
95
  src/dodal/beamlines/p99.py
96
+ src/dodal/beamlines/training_rig.py
96
97
  src/dodal/common/__init__.py
97
98
  src/dodal/common/coordination.py
98
99
  src/dodal/common/maths.py
@@ -110,7 +111,6 @@ src/dodal/devices/aperture.py
110
111
  src/dodal/devices/aperturescatterguard.py
111
112
  src/dodal/devices/attenuator.py
112
113
  src/dodal/devices/backlight.py
113
- src/dodal/devices/beamstop.py
114
114
  src/dodal/devices/cryostream.py
115
115
  src/dodal/devices/dcm.py
116
116
  src/dodal/devices/eiger.py
@@ -181,6 +181,8 @@ src/dodal/devices/oav/pin_image_recognition/manual_test.py
181
181
  src/dodal/devices/oav/pin_image_recognition/utils.py
182
182
  src/dodal/devices/p99/__init__.py
183
183
  src/dodal/devices/p99/sample_stage.py
184
+ src/dodal/devices/training_rig/__init__.py
185
+ src/dodal/devices/training_rig/sample_stage.py
184
186
  src/dodal/devices/util/__init__.py
185
187
  src/dodal/devices/util/adjuster_plans.py
186
188
  src/dodal/devices/util/epics_util.py
@@ -217,6 +219,7 @@ tests/common/__init__.py
217
219
  tests/common/test_coordination.py
218
220
  tests/common/test_maths.py
219
221
  tests/common/test_udc_directory_provider.py
222
+ tests/common/test_visit.py
220
223
  tests/common/beamlines/__init__.py
221
224
  tests/common/beamlines/test_beamline_parameters.py
222
225
  tests/common/beamlines/test_beamline_utils.py
@@ -233,12 +236,14 @@ tests/devices/system_tests/test_aperturescatterguard_system.py
233
236
  tests/devices/system_tests/test_eiger_system.py
234
237
  tests/devices/system_tests/test_gridscan_system.py
235
238
  tests/devices/system_tests/test_oav_system.py
239
+ tests/devices/system_tests/test_oav_to_redis_system.py
236
240
  tests/devices/system_tests/test_slit_gaps_system.py
237
241
  tests/devices/system_tests/test_smargon_system.py
238
242
  tests/devices/system_tests/test_synchrotron_system.py
239
243
  tests/devices/system_tests/test_undulator_system.py
240
244
  tests/devices/system_tests/test_zebra_system.py
241
245
  tests/devices/system_tests/test_zocalo_results.py
246
+ tests/devices/training_rig/test_sample_stage.py
242
247
  tests/devices/unit_tests/__init__.py
243
248
  tests/devices/unit_tests/conftest.py
244
249
  tests/devices/unit_tests/test_OAVCentring.json
@@ -314,6 +319,8 @@ tests/test_data/test_beamline_dcm_roll_converter_non_monotonic.txt
314
319
  tests/test_data/test_beamline_dcm_roll_converter_reversed.txt
315
320
  tests/test_data/test_beamline_parameters.txt
316
321
  tests/test_data/test_det_dist_converter.txt
322
+ tests/test_data/topup_long_delay.txt
323
+ tests/test_data/topup_short_params.txt
317
324
  tests/unit_tests/__init__.py
318
325
  tests/unit_tests/test_cli.py
319
326
  tests/unit_tests/test_log.py
@@ -1,14 +1,14 @@
1
1
  click
2
2
  ophyd
3
- ophyd-async<0.4.0
3
+ ophyd-async>=0.5.2
4
4
  bluesky
5
5
  pyepics
6
6
  dataclasses-json
7
7
  pillow
8
- zocalo<1.0.0,>=0.32.0
8
+ zocalo>=1.0.0
9
9
  requests
10
10
  graypy
11
- pydantic
11
+ pydantic>=2.0
12
12
  opencv-python-headless
13
13
  aioca
14
14
  p4p
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '1.30.0'
16
- __version_tuple__ = version_tuple = (1, 30, 0)
15
+ __version__ = version = '1.31.0'
16
+ __version_tuple__ = version_tuple = (1, 31, 0)
@@ -1,7 +1,5 @@
1
1
  from dataclasses import dataclass
2
2
 
3
- from dodal.devices.aperturescatterguard import SingleAperturePosition
4
-
5
3
  I03_BEAM_HEIGHT_UM = 20
6
4
 
7
5
 
@@ -11,6 +9,5 @@ class BeamSize:
11
9
  y_um: float | None
12
10
 
13
11
 
14
- def beam_size_from_aperture(position: SingleAperturePosition):
15
- aperture_size = position.radius_microns
12
+ def beam_size_from_aperture(aperture_size: float | None):
16
13
  return BeamSize(aperture_size, I03_BEAM_HEIGHT_UM if aperture_size else None)
@@ -13,6 +13,10 @@ _BEAMLINE_NAME_OVERRIDES = {
13
13
  "i13-1": "i13_1",
14
14
  "i20-1": "i20_1",
15
15
  "s03": "i03",
16
+ "p46": "training_rig",
17
+ "p47": "training_rig",
18
+ "p48": "training_rig",
19
+ "p49": "training_rig",
16
20
  }
17
21
 
18
22
 
@@ -1,17 +1,17 @@
1
- from ophyd_async.panda import HDFPanda
1
+ from ophyd_async.fastcs.panda import HDFPanda
2
2
 
3
3
  from dodal.common.beamlines.beamline_parameters import get_beamline_parameters
4
4
  from dodal.common.beamlines.beamline_utils import (
5
5
  device_instantiation,
6
- get_directory_provider,
7
- set_directory_provider,
6
+ get_path_provider,
7
+ set_path_provider,
8
8
  )
9
9
  from dodal.common.beamlines.beamline_utils import set_beamline as set_utils_beamline
10
- from dodal.common.udc_directory_provider import PandASubdirectoryProvider
10
+ from dodal.common.udc_directory_provider import PandASubpathProvider
11
11
  from dodal.devices.aperturescatterguard import (
12
+ AperturePosition,
12
13
  ApertureScatterguard,
13
14
  load_positions_from_beamline_parameters,
14
- load_tolerances_from_beamline_params,
15
15
  )
16
16
  from dodal.devices.attenuator import Attenuator
17
17
  from dodal.devices.backlight import Backlight
@@ -52,7 +52,7 @@ BL = get_beamline_name("s03")
52
52
  set_log_beamline(BL)
53
53
  set_utils_beamline(BL)
54
54
 
55
- set_directory_provider(PandASubdirectoryProvider())
55
+ set_path_provider(PandASubpathProvider())
56
56
 
57
57
 
58
58
  def aperture_scatterguard(
@@ -71,7 +71,7 @@ def aperture_scatterguard(
71
71
  wait=wait_for_connection,
72
72
  fake=fake_with_ophyd_sim,
73
73
  loaded_positions=load_positions_from_beamline_parameters(params),
74
- tolerances=load_tolerances_from_beamline_params(params),
74
+ tolerances=AperturePosition.tolerances_from_gda_params(params),
75
75
  )
76
76
 
77
77
 
@@ -378,7 +378,7 @@ def panda(
378
378
  "-EA-PANDA-01:",
379
379
  wait_for_connection,
380
380
  fake_with_ophyd_sim,
381
- directory_provider=get_directory_provider(),
381
+ path_provider=get_path_provider(),
382
382
  )
383
383
 
384
384
 
@@ -2,13 +2,12 @@ from dodal.common.beamlines.beamline_parameters import get_beamline_parameters
2
2
  from dodal.common.beamlines.beamline_utils import device_instantiation
3
3
  from dodal.common.beamlines.beamline_utils import set_beamline as set_utils_beamline
4
4
  from dodal.devices.aperturescatterguard import (
5
+ AperturePosition,
5
6
  ApertureScatterguard,
6
7
  load_positions_from_beamline_parameters,
7
- load_tolerances_from_beamline_params,
8
8
  )
9
9
  from dodal.devices.attenuator import Attenuator
10
10
  from dodal.devices.backlight import Backlight
11
- from dodal.devices.beamstop import BeamStop
12
11
  from dodal.devices.dcm import DCM
13
12
  from dodal.devices.detector import DetectorParams
14
13
  from dodal.devices.detector.detector_motion import DetectorMotion
@@ -107,14 +106,14 @@ def ipin(wait_for_connection: bool = True, fake_with_ophyd_sim: bool = False) ->
107
106
 
108
107
  def beamstop(
109
108
  wait_for_connection: bool = True, fake_with_ophyd_sim: bool = False
110
- ) -> BeamStop:
109
+ ) -> XYZPositioner:
111
110
  """Get the i04 beamstop device, instantiate it if it hasn't already been.
112
111
  If this is called when already instantiated in i04, it will return the existing object.
113
112
  """
114
113
  return device_instantiation(
115
- BeamStop,
114
+ XYZPositioner,
116
115
  "beamstop",
117
- "",
116
+ "-MO-BS-01:",
118
117
  wait_for_connection,
119
118
  fake_with_ophyd_sim,
120
119
  )
@@ -237,7 +236,7 @@ def aperture_scatterguard(
237
236
  wait=wait_for_connection,
238
237
  fake=fake_with_ophyd_sim,
239
238
  loaded_positions=load_positions_from_beamline_parameters(params),
240
- tolerances=load_tolerances_from_beamline_params(params),
239
+ tolerances=AperturePosition.tolerances_from_gda_params(params),
241
240
  )
242
241
 
243
242
 
@@ -411,9 +410,11 @@ def oav_to_redis_forwarder(
411
410
  """
412
411
  return device_instantiation(
413
412
  OAVToRedisForwarder,
414
- "oav_to_redis",
415
- "",
413
+ "oav_to_redis_forwarder",
414
+ "-DI-OAV-01:",
416
415
  wait_for_connection,
417
416
  fake_with_ophyd_sim,
418
- params=OAVConfigParams(ZOOM_PARAMS_FILE, DISPLAY_CONFIG),
417
+ redis_host=REDIS_HOST,
418
+ redis_password=REDIS_PASSWORD,
419
+ redis_db=7,
419
420
  )
@@ -1,14 +1,14 @@
1
1
  from pathlib import Path
2
2
 
3
- from ophyd_async.epics.areadetector.aravis import AravisDetector
3
+ from ophyd_async.epics.adaravis import AravisDetector
4
4
 
5
5
  from dodal.common.beamlines.beamline_utils import (
6
6
  device_instantiation,
7
- get_directory_provider,
8
- set_directory_provider,
7
+ get_path_provider,
8
+ set_path_provider,
9
9
  )
10
10
  from dodal.common.beamlines.beamline_utils import set_beamline as set_utils_beamline
11
- from dodal.common.visit import StaticVisitDirectoryProvider
11
+ from dodal.common.visit import StaticVisitPathProvider
12
12
  from dodal.devices.motors import XYZPositioner
13
13
  from dodal.log import set_beamline as set_log_beamline
14
14
  from dodal.utils import get_beamline_name
@@ -16,8 +16,8 @@ from dodal.utils import get_beamline_name
16
16
  BL = get_beamline_name("i13-1")
17
17
  set_log_beamline(BL)
18
18
  set_utils_beamline(BL)
19
- set_directory_provider(
20
- StaticVisitDirectoryProvider(
19
+ set_path_provider(
20
+ StaticVisitPathProvider(
21
21
  BL,
22
22
  Path("/data/2024/cm37257-4/"), # latest commissioning visit
23
23
  )
@@ -60,7 +60,7 @@ def side_camera(
60
60
  bl_prefix=False,
61
61
  drv_suffix="CAM:",
62
62
  hdf_suffix="HDF5:",
63
- directory_provider=get_directory_provider(),
63
+ path_provider=get_path_provider(),
64
64
  wait=wait_for_connection,
65
65
  fake=fake_with_ophyd_sim,
66
66
  )
@@ -1,16 +1,17 @@
1
1
  from pathlib import Path
2
2
 
3
- from ophyd_async.epics.areadetector import AravisDetector, PilatusDetector
4
- from ophyd_async.panda import HDFPanda
3
+ from ophyd_async.epics.adaravis import AravisDetector
4
+ from ophyd_async.epics.adpilatus import PilatusDetector
5
+ from ophyd_async.fastcs.panda import HDFPanda
5
6
 
6
7
  from dodal.common.beamlines.beamline_utils import (
7
8
  device_instantiation,
8
- get_directory_provider,
9
- set_directory_provider,
9
+ get_path_provider,
10
+ set_path_provider,
10
11
  )
11
12
  from dodal.common.beamlines.beamline_utils import set_beamline as set_utils_beamline
12
13
  from dodal.common.beamlines.device_helpers import numbered_slits
13
- from dodal.common.visit import DirectoryServiceClient, StaticVisitDirectoryProvider
14
+ from dodal.common.visit import RemoteDirectoryServiceClient, StaticVisitPathProvider
14
15
  from dodal.devices.focusing_mirror import FocusingMirror
15
16
  from dodal.devices.i22.dcm import CrystalMetadata, DoubleCrystalMonochromator
16
17
  from dodal.devices.i22.fswitch import FSwitch
@@ -32,11 +33,11 @@ set_utils_beamline(BL)
32
33
  # Communication with GDA is also WIP so for now we determine an arbitrary scan number
33
34
  # locally and write the commissioning directory. The scan number is not guaranteed to
34
35
  # be unique and the data is at risk - this configuration is for testing only.
35
- set_directory_provider(
36
- StaticVisitDirectoryProvider(
36
+ set_path_provider(
37
+ StaticVisitPathProvider(
37
38
  BL,
38
39
  Path("/dls/i22/data/2024/cm37271-2/bluesky"),
39
- client=DirectoryServiceClient("http://i22-control:8088/api"),
40
+ client=RemoteDirectoryServiceClient("http://i22-control:8088/api"),
40
41
  )
41
42
  )
42
43
 
@@ -61,7 +62,7 @@ def saxs(
61
62
  sensor_thickness=(0.45, "mm"),
62
63
  distance=(4711.833684146172, "mm"),
63
64
  ),
64
- directory_provider=get_directory_provider(),
65
+ path_provider=get_path_provider(),
65
66
  )
66
67
 
67
68
 
@@ -97,7 +98,7 @@ def waxs(
97
98
  sensor_thickness=(0.45, "mm"),
98
99
  distance=(175.4199417092314, "mm"),
99
100
  ),
100
- directory_provider=get_directory_provider(),
101
+ path_provider=get_path_provider(),
101
102
  )
102
103
 
103
104
 
@@ -112,7 +113,7 @@ def i0(
112
113
  wait_for_connection,
113
114
  fake_with_ophyd_sim,
114
115
  type="Cividec Diamond XBPM",
115
- directory_provider=get_directory_provider(),
116
+ path_provider=get_path_provider(),
116
117
  )
117
118
 
118
119
 
@@ -127,7 +128,7 @@ def it(
127
128
  wait_for_connection,
128
129
  fake_with_ophyd_sim,
129
130
  type="PIN Diode",
130
- directory_provider=get_directory_provider(),
131
+ path_provider=get_path_provider(),
131
132
  )
132
133
 
133
134
 
@@ -234,7 +235,6 @@ def slits_3(
234
235
  )
235
236
 
236
237
 
237
- @skip_device()
238
238
  def slits_4(
239
239
  wait_for_connection: bool = True,
240
240
  fake_with_ophyd_sim: bool = False,
@@ -296,7 +296,7 @@ def panda1(
296
296
  "-EA-PANDA-01:",
297
297
  wait_for_connection,
298
298
  fake_with_ophyd_sim,
299
- directory_provider=get_directory_provider(),
299
+ path_provider=get_path_provider(),
300
300
  )
301
301
 
302
302
 
@@ -311,7 +311,7 @@ def panda2(
311
311
  "-EA-PANDA-02:",
312
312
  wait_for_connection,
313
313
  fake_with_ophyd_sim,
314
- directory_provider=get_directory_provider(),
314
+ path_provider=get_path_provider(),
315
315
  )
316
316
 
317
317
 
@@ -326,7 +326,7 @@ def panda3(
326
326
  "-EA-PANDA-03:",
327
327
  wait_for_connection,
328
328
  fake_with_ophyd_sim,
329
- directory_provider=get_directory_provider(),
329
+ path_provider=get_path_provider(),
330
330
  )
331
331
 
332
332
 
@@ -341,7 +341,7 @@ def panda4(
341
341
  "-EA-PANDA-04:",
342
342
  wait_for_connection,
343
343
  fake_with_ophyd_sim,
344
- directory_provider=get_directory_provider(),
344
+ path_provider=get_path_provider(),
345
345
  )
346
346
 
347
347
 
@@ -362,7 +362,7 @@ def oav(
362
362
  description="AVT Mako G-507B",
363
363
  distance=(-1.0, "m"),
364
364
  ),
365
- directory_provider=get_directory_provider(),
365
+ path_provider=get_path_provider(),
366
366
  )
367
367
 
368
368
 
@@ -1,16 +1,16 @@
1
1
  from pathlib import Path
2
2
 
3
- from ophyd_async.epics.areadetector import AravisDetector
4
- from ophyd_async.panda import HDFPanda
3
+ from ophyd_async.epics.adaravis import AravisDetector
4
+ from ophyd_async.fastcs.panda import HDFPanda
5
5
 
6
6
  from dodal.common.beamlines.beamline_utils import (
7
7
  device_instantiation,
8
- get_directory_provider,
9
- set_directory_provider,
8
+ get_path_provider,
9
+ set_path_provider,
10
10
  )
11
11
  from dodal.common.beamlines.beamline_utils import set_beamline as set_utils_beamline
12
12
  from dodal.common.beamlines.device_helpers import numbered_slits
13
- from dodal.common.visit import LocalDirectoryServiceClient, StaticVisitDirectoryProvider
13
+ from dodal.common.visit import LocalDirectoryServiceClient, StaticVisitPathProvider
14
14
  from dodal.devices.focusing_mirror import FocusingMirror
15
15
  from dodal.devices.i22.dcm import CrystalMetadata, DoubleCrystalMonochromator
16
16
  from dodal.devices.i22.fswitch import FSwitch
@@ -30,8 +30,8 @@ set_utils_beamline(BL)
30
30
  # Communication with GDA is also WIP so for now we determine an arbitrary scan number
31
31
  # locally and write the commissioning directory. The scan number is not guaranteed to
32
32
  # be unique and the data is at risk - this configuration is for testing only.
33
- set_directory_provider(
34
- StaticVisitDirectoryProvider(
33
+ set_path_provider(
34
+ StaticVisitPathProvider(
35
35
  BL,
36
36
  Path("/dls/p38/data/2024/cm37282-2/bluesky"),
37
37
  client=LocalDirectoryServiceClient(),
@@ -50,7 +50,7 @@ def d3(
50
50
  fake_with_ophyd_sim,
51
51
  drv_suffix="DET:",
52
52
  hdf_suffix="HDF5:",
53
- directory_provider=get_directory_provider(),
53
+ path_provider=get_path_provider(),
54
54
  )
55
55
 
56
56
 
@@ -67,7 +67,7 @@ def d11(
67
67
  fake_with_ophyd_sim,
68
68
  drv_suffix="DET:",
69
69
  hdf_suffix="HDF5:",
70
- directory_provider=get_directory_provider(),
70
+ path_provider=get_path_provider(),
71
71
  )
72
72
 
73
73
 
@@ -82,7 +82,7 @@ def d12(
82
82
  fake_with_ophyd_sim,
83
83
  drv_suffix="DET:",
84
84
  hdf_suffix="HDF5:",
85
- directory_provider=get_directory_provider(),
85
+ path_provider=get_path_provider(),
86
86
  )
87
87
 
88
88
 
@@ -96,7 +96,7 @@ def i0(
96
96
  "-EA-XBPM-01:",
97
97
  wait_for_connection,
98
98
  fake_with_ophyd_sim,
99
- directory_provider=get_directory_provider(),
99
+ path_provider=get_path_provider(),
100
100
  )
101
101
 
102
102
 
@@ -273,7 +273,7 @@ def panda1(
273
273
  "-EA-PANDA-01:",
274
274
  wait_for_connection,
275
275
  fake_with_ophyd_sim,
276
- directory_provider=get_directory_provider(),
276
+ path_provider=get_path_provider(),
277
277
  )
278
278
 
279
279
 
@@ -288,7 +288,7 @@ def panda2(
288
288
  "-EA-PANDA-02:",
289
289
  wait_for_connection,
290
290
  fake_with_ophyd_sim,
291
- directory_provider=get_directory_provider(),
291
+ path_provider=get_path_provider(),
292
292
  )
293
293
 
294
294
 
@@ -303,7 +303,7 @@ def panda3(
303
303
  "-EA-PANDA-03:",
304
304
  wait_for_connection,
305
305
  fake_with_ophyd_sim,
306
- directory_provider=get_directory_provider(),
306
+ path_provider=get_path_provider(),
307
307
  )
308
308
 
309
309
 
@@ -1,15 +1,15 @@
1
1
  from pathlib import Path
2
2
 
3
- from ophyd_async.epics.areadetector import AravisDetector
4
- from ophyd_async.panda import HDFPanda
3
+ from ophyd_async.epics.adaravis import AravisDetector
4
+ from ophyd_async.fastcs.panda import HDFPanda
5
5
 
6
6
  from dodal.common.beamlines.beamline_utils import (
7
7
  device_instantiation,
8
- get_directory_provider,
9
- set_directory_provider,
8
+ get_path_provider,
9
+ set_path_provider,
10
10
  )
11
11
  from dodal.common.beamlines.beamline_utils import set_beamline as set_utils_beamline
12
- from dodal.common.visit import StaticVisitDirectoryProvider
12
+ from dodal.common.visit import StaticVisitPathProvider
13
13
  from dodal.devices.p45 import Choppers, TomoStageWithStretchAndSkew
14
14
  from dodal.log import set_beamline as set_log_beamline
15
15
  from dodal.utils import get_beamline_name, skip_device
@@ -17,8 +17,8 @@ from dodal.utils import get_beamline_name, skip_device
17
17
  BL = get_beamline_name("p45")
18
18
  set_log_beamline(BL)
19
19
  set_utils_beamline(BL)
20
- set_directory_provider(
21
- StaticVisitDirectoryProvider(
20
+ set_path_provider(
21
+ StaticVisitPathProvider(
22
22
  BL,
23
23
  Path("/data/2024/cm37283-2/"), # latest commissioning visit
24
24
  )
@@ -62,7 +62,7 @@ def det(
62
62
  fake_with_ophyd_sim,
63
63
  drv_suffix="DET:",
64
64
  hdf_suffix="HDF5:",
65
- directory_provider=get_directory_provider(),
65
+ path_provider=get_path_provider(),
66
66
  )
67
67
 
68
68
 
@@ -79,7 +79,7 @@ def diff(
79
79
  fake_with_ophyd_sim,
80
80
  drv_suffix="DET:",
81
81
  hdf_suffix="HDF5:",
82
- directory_provider=get_directory_provider(),
82
+ path_provider=get_path_provider(),
83
83
  )
84
84
 
85
85
 
@@ -97,7 +97,7 @@ def panda1(
97
97
  "-MO-PANDA-01:",
98
98
  wait_for_connection,
99
99
  fake_with_ophyd_sim,
100
- directory_provider=get_directory_provider(),
100
+ path_provider=get_path_provider(),
101
101
  )
102
102
 
103
103
 
@@ -112,5 +112,5 @@ def panda2(
112
112
  "-MO-PANDA-02:",
113
113
  wait_for_connection,
114
114
  fake_with_ophyd_sim,
115
- directory_provider=get_directory_provider(),
115
+ path_provider=get_path_provider(),
116
116
  )