Skip to content

Conversation

@silkenelson
Copy link
Collaborator

Motivation and Context

FOr LCLS2 hutches, epicsArchChecker is supposed to call the DAQ maintained script epicsArchVerify. While some functionality is duplicated, this is the way to ensure that the syntax is correct for the DAQ.
sourcing the environment that has the appropriate epicsArchVerify has changed. This pull request addresses this.

How Has This Been Tested?

run this on MFX, XCS & TMO epicsArchFiles.

Where Has This Been Documented?

here.

@silkenelson silkenelson requested a review from a team as a code owner November 4, 2025 08:55
Comment on lines +69 to +71
for hutch in LCLS2_HUTCHES:
if hutch in path.parts:
break
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If no hutch is found, this would default to the last hutch. Is that ok for this script?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because I'm only entering this loop when we are supposed to use 'verify' as we have found to be an LCLS2 hutch via the is_lcls2 function before, we will find a hutch here. Admittedly, this is not pretty, but I could not figure out how to set 'hutch' in the is_lcls2 function.

@silkenelson silkenelson merged commit 938aea7 into pcdshub:master Nov 4, 2025
2 checks passed
@silkenelson silkenelson deleted the fix_epicsArchVerify branch November 4, 2025 21:16
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

Successfully merging this pull request may close these issues.

2 participants