Skip to content

Add support for custom units in OpenHTF proto converters.#1287

Open
copybara-service[bot] wants to merge 1 commit into
masterfrom
test_919012532
Open

Add support for custom units in OpenHTF proto converters.#1287
copybara-service[bot] wants to merge 1 commit into
masterfrom
test_919012532

Conversation

@copybara-service
Copy link
Copy Markdown
Contributor

Add support for custom units in OpenHTF proto converters.

This change modifies the mfg_event_converter and test_runs_converter to populate the custom_unit_code and custom_unit_suffix fields in the output protos when a measurement's unit code is not in the predefined UOM_CODE_MAP. New test cases are added to verify the correct handling of custom units in both converters.

@google-cla
Copy link
Copy Markdown

google-cla Bot commented May 21, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@copybara-service copybara-service Bot force-pushed the test_919012532 branch 7 times, most recently from 037350a to 14a01d8 Compare May 21, 2026 14:31
This change modifies the mfg_event_converter and test_runs_converter to populate the custom_unit_code and custom_unit_suffix fields in the output protos when a measurement's unit code is not in the predefined UOM_CODE_MAP. New test cases are added to verify the correct handling of custom units in both converters.

PiperOrigin-RevId: 919012532
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.

0 participants