Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust SLAC-specific EPICS_BASE check #143

Open
klauer opened this issue Sep 16, 2022 · 0 comments
Open

Adjust SLAC-specific EPICS_BASE check #143

klauer opened this issue Sep 16, 2022 · 0 comments

Comments

@klauer
Copy link
Contributor

klauer commented Sep 16, 2022

Expected Behavior

whatrecord should work outside of SLAC.

Current Behavior

A hook on epicsEnvSet(EPICS_BASE, ...) checks for SLAC-specific directories.
https://github.com/klauer/whatrecord/blob/4f31c69ef5f07ef028e5ac1677e63b76dcf3dc0c/whatrecord/shell.py#L338-L341

Possible Solution

  • Make these base directories customizable?
  • Additionally iterate through directory parts looking for Rx.y.z.*?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant