Open canismarko opened 5 months ago
One idea is that plan annotations might provide this functionality. By explicitly declaring device types (either DEVICE or bluesky.protocols.Readable, etc) we might be able to coerce the queueserver into resolving these names despite the spaces.
I'm going to wait until https://github.com/spc-group/haven/pull/198 is closed before working on this.
This function might be useful here as well.
Thanks to @prjemian for the suggestion.
Tested plan annotations. They don't solve this "spaces in the device name" problem.
For now I've implemented a workaround where all the device names that are generated dynamically (e.g. ion chambers, motors) are sanitized first.
Should be good enough for now, but we should also avoid spaces in hardware descriptions in general.
Message sent on Mattermost: