Skip to content

fixed warmup method in Xspress3HDF5Plugin#258

Open
Dan Henriksen (dihenriksen) wants to merge 1 commit into
mainfrom
xspress3-hdf5-warmup-fix
Open

fixed warmup method in Xspress3HDF5Plugin#258
Dan Henriksen (dihenriksen) wants to merge 1 commit into
mainfrom
xspress3-hdf5-warmup-fix

Conversation

@dihenriksen

@dihenriksen Dan Henriksen (dihenriksen) commented May 29, 2026

Copy link
Copy Markdown

Fixes #257

@jwlodek

Jakub Wlodek (jwlodek) commented May 29, 2026

Copy link
Copy Markdown
Contributor

Since the method is identical to the upstream one other than the two signals, I wonder if we should change warmup upstream to take a dictionary of signals to values to set? Maybe not worth the effort, but it would certainly allow for less code duplication...

Or maybe have a property that stores the dict of signals to set on warmup.

@dihenriksen

Copy link
Copy Markdown
Author

Since the method is identical to the upstream one other than the two signals, I wonder if we should change warmup upstream to take a dictionary of signals to values to set? Maybe not worth the effort, but it would certainly allow for less code duplication...

Or maybe have a property that stores the dict of signals to set on warmup.

I thought about that too. It might be the best and cleanest solution - it is easy for me to imagine other detectors having to tweak the signals for the HDF5Plugin as well. But since that change would be in ophyd I am worried about unintended downstream consequences and backwards compatibility. And I'm still only vaguely familiar with ophyd so I wasn't confident in making that change there.

@dihenriksen

Copy link
Copy Markdown
Author

Jakub Wlodek (@jwlodek) I at least made in issue in ophyd: bluesky/ophyd#1280

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.

Xspress3HDF5Plugin warmup() tries to set disabled PVs

2 participants