-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace use of deprecated dodal plan writing utils #99
Conversation
3076b9c
to
1be3070
Compare
blocking issues |
6091db9
to
cbb54f2
Compare
|
exec(co, module.__dict__)
File "/workspaces/i22-bluesky/tests/plans/test_stopflow.py", line 22, in <module>
from i22_bluesky.plans import check_detectors_for_stopflow, stopflow
File "/workspaces/i22-bluesky/src/i22_bluesky/plans/__init__.py", line 1, in <module>
from .linkam import linkam_plan, save_linkam
File "/workspaces/i22-bluesky/src/i22_bluesky/plans/linkam.py", line 17, in <module>
from i22_bluesky.util.default_devices import (
File "/workspaces/i22-bluesky/src/i22_bluesky/util/default_devices.py", line 28, in <module>
saxs(),
^^^^^^
File "/venv/lib/python3.11/site-packages/dodal/beamlines/i22.py", line 48, in saxs
return device_instantiation(
^^^^^^^^^^^^^^^^^^^^^
File "/venv/lib/python3.11/site-packages/dodal/utils.py", line 97, in wrapper
return func(*args, **kwds)
^^^^^^^^^^^^^^^^^^^
File "/venv/lib/python3.11/site-packages/dodal/common/beamlines/beamline_utils.py", line 113, in device_instantiation
wait_for_connection(device_instance, mock=fake)
File "/venv/lib/python3.11/site-packages/dodal/common/beamlines/beamline_utils.py", line 56, in wait_for_connection
call_in_bluesky_event_loop(
File "/venv/lib/python3.11/site-packages/bluesky/run_engine.py", line 2892, in call_in_bluesky_event_loop
raise RuntimeError("Bluesky event loop not running")
RuntimeError: Bluesky event loop not running
------------------------------- Captured stderr ---
this is extremely odd, as the error is in the imports and the linkam plan works, though it has the same imports. the error is during a call to |
fixed with a test refactor, all good |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #99 +/- ##
=======================================
Coverage 60.00% 60.00%
=======================================
Files 10 10
Lines 225 225
=======================================
Hits 135 135
Misses 90 90 ☔ View full report in Codecov by Sentry. |
This reverts commit 9ab2fcd.
@stan-dot please do not merge my changes before I am ready for them to be merged. |
|
No description provided.