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

Fixing epicsarch bug on last alias not having a pv #221

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

KaushikMalapati
Copy link
Contributor

Description

Probably should have included this in #219
I'm just checking if key is not empty after the for loop in read_file. If it is, that means we did not encounter a pv after the last alias, and it should be in extraKeys, but was not because the for loop only does so when it encounters the next key (a line that starts with * when key is not empty), which does not work on the last alias.

Motivation and Context

#220

How Has This Been Tested?

Interactively with variations of this arch file

*Port_0_MCP_Front
TMO:MPOD:01:M0:C0:VoltageMeasure ca

*Port_1_MCP_Front
#TMO:MPOD:01:M0:C1:VoltageMeasure ca

#test

Where Has This Been Documented?

n/a

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.

1 participant