pcdsdevices.dccm.resolve_hutch
- pcdsdevices.dccm.resolve_hutch(prefix: str, hutch: str | None = None) str
Resolve and validate a hutch name.
An explicit hutch takes precedence. Otherwise, inspect colon-delimited tokens in the PV prefix.
- Raises:
ValueError – If the explicit hutch is invalid, or the prefix does not identify a known hutch.