BCDA-APS / bluesky_training

Bluesky training, including instrument package
https://bcda-aps.github.io/bluesky_training/
Other
11 stars 0 forks source link

Define the IOC prefixes in a common place #46

Closed prjemian closed 2 years ago

prjemian commented 2 years ago

The IOC prefixes for the general purpose and the area detector IOCs are defined in each relevent device file. Make it easier to override these (in testing, for example) by defining them at a higher level with the possibility of an environment variable to override.

prjemian commented 2 years ago

As in #47, possibly after line 4 here: https://github.com/BCDA-APS/bluesky_training/blob/33f308692d44f40073e518acc643c836b898b430/bluesky/instrument/collection.py#L1-L5