Closed tsellers-r7 closed 3 years ago
@hdm - CCing you because you're the most likely to use this code on a regular basis.
Thanks! Looks good to me!
Note: After PR #301 lands I will create a clean up PR to address any issues identified by running this tool. I know of at least a couple at this point.
Description
This PR addresses what I believe to a bug in
bin/recog_standardize
in which a string index is compared to-1
instead ofnil
. Since-1
shouldn't be a valid response to this check all entries were skipped.I noticed this when working on PR #301 and not seeing some of the changes I made. I then added a random vendor name and
recog_standardize
didn't report it.NOTE: In this PR I have not included the changes to the files in
identifiers/
since I need some of the changes in PR #301 to land first. When the issue is addressed I'll open a PR to clean up.You can see the results either of the following commands before and after the changes in this PR.
CC @hdm
Output when running the updated script against
http_servers.xml
Motivation and Context
Bug fix
How Has This Been Tested?
Local testing using the commands above after adding a product I to not exist in
identifiers/service_product.txt
.Types of changes
Checklist: