forked from bluesky/ophyd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENH: add ability to control component names are mangled
The Python name (via attributes) of a child device is `foo.bar.baz`, however for a number of historical reasons (allowed keys in mongo and for attribute access in Pandas data frames with columns named from the data keys in an event stream) ophyd-sync has replaced '.' with '_' in the names. This leads to ambiguity when looking at the (default) name to which component on which device the data came from as there may be `_` in the attribute names. Ophyd-async used '-' which does allow for round tripping. This makes it controllable on per-instance basis in ophyd-sync so that users can either make a different set of trade offs. xref bluesky/ophyd-async#666
- Loading branch information
Showing
2 changed files
with
33 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters