-
Notifications
You must be signed in to change notification settings - Fork 9
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
hoist DM_WorkflowConnector from BDP #868
Conversation
prjemian
commented
Jul 7, 2023
- close Hoist DM_Workflow() device #851
This CI failure is not related:
|
But this CI failure is related:
|
Resolved the import error here but the NXwriter is still failing the same way: self = HDF5PluginWithFileStore(prefix='ad:HDF1:', name='camera_hdf1', parent='camera', read_attrs=[], configuration_attrs=[])
key = 'camera_image', timestamp = 1688775892.9098[134](https://github.com/BCDA-APS/apstools/actions/runs/5491611280/jobs/10008372017#step:15:135)
datum_kwargs = {'point_number': 0}
def generate_datum(self, key, timestamp, datum_kwargs):
"Generate a uid and cache it with its key for later insertion."
datum_kwargs = datum_kwargs or {}
if self._locked_key_list:
if key not in self._datum_uids:
> raise RuntimeError("modifying after lock")
E RuntimeError: modifying after lock
/home/runner/micromamba-root/envs/anaconda-test-env-py-3.10/lib/python3.10/site-packages/ophyd/areadetector/filestore_mixins.py:342: RuntimeError |
Might be due to bluesky 1.11.0. Add requirement and test again. As @tacaswell said in Slack:
|
Need to add some unit tests, at least to get code coverage to be higher. Testing will be a challenge and incomplete in CI since the APS DM system is not available. |
Also note this advice in the CI:
|
Code coverage drops with this work since some DM features cannot be tested outside the APS subnet. |