nasa / EdsLib

CCSDS SOIS Electronic Data Sheet Tool and Library
Apache License 2.0
31 stars 12 forks source link

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

Closed jphickey closed 9 months ago

jphickey commented 9 months ago

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.