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

Fix #62, correct name match in table build #63

Merged
merged 1 commit into from
Nov 16, 2023

Conversation

jphickey
Copy link
Contributor

@jphickey jphickey commented Nov 7, 2023

Describe the contribution
Confirm that the next char in the name match is a separator before breaking out of the loop. This avoids matching on a prefix, such as SC to SCH_LAB.

Fixes #62

Testing performed
Build tables for SC and SCH_LAB in same project/mission

Expected behavior changes
Successful table build

System(s) tested on
Debian

Additional context
This only fixes the issue for app names that share a substring but not a whole word/term. For instance if using SCH and SCH_LAB together in the same mission, that will still be a problem. But that is unlikely to occur.

Contributor Info - All information REQUIRED for consideration of pull request
Joseph Hickey, Vantage Systems, Inc.

Confirm that the next char in the name match is a separator before breaking
out of the loop.  This avoids matching on a prefix, such as SC to SCH_LAB.
@jphickey jphickey added the CCB:Ready Pull request is ready for CCB discussion label Nov 7, 2023
@jphickey jphickey merged commit ce4e2b3 into nasa:main Nov 16, 2023
@jphickey jphickey added CCB:Approved Indicates code review and approval by community CCB and removed CCB:Ready Pull request is ready for CCB discussion labels Nov 16, 2023
@jphickey jphickey deleted the fix-62-appname-match branch November 16, 2023 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CCB:Approved Indicates code review and approval by community CCB
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Table tool type name matching
1 participant