Closed tangkong closed 1 year ago
Another option is to teach hutch-python about the two XPP lines, I'm not sure which is better
My rationale was that hutch-python relies on the provided hutch name in many places, and teaching hutch-python about two new XPP lines would require either coding in edge cases in all those places. hutch-python also uses that hutch name to search happi, and changing the line names would cause a mismatch there.
On the other hand, if XPP starts lightpath with a custom config, hutch-python should work as it has.
You're definitely right that this would end up as a special case in hutch-python and possibly have knock-on impacts
Got it - this clearly seems the correct approach then 👍
Description
reverts the config split of XPP into two lines for hutch-python compatibility
Motivation and Context
Hutch-python expects very specific hutch names, so we should not change the ones that are available by default.
This split can simply be done via custom config files in the future
Can't just revert the whole PR since there were other fixes in it
How Has This Been Tested?
reverting and running the test suite
Where Has This Been Documented?
This PR