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

Added code to handle floats properly when making a list in the message parser #841

Merged
merged 1 commit into from
Sep 27, 2023

Conversation

BradySkylight
Copy link
Contributor

PULL REQUEST

Summary

Nick identified a bug where if float values are present in a bundle that is processed that they can't be converted to a comma separate list of floats. The code now translates the floats into str to add them to a comma separated list. I have added tests to cover this case as well as a updated the test schema to include elements that are floats, additionally I have added lat and long to a sample test bundle for this test case.

My only concern is if this will cause issues downstream where we are reading this data from the message parser into files that LAC can consume. @m-goggins Can we confirm that this result will not break any of that functionality...if it does I can work with you on coming up with a solution.

See Error below:

image

Related Issue

…s to test schema and to test bundles to ensure the fix worked
@codecov
Copy link

codecov bot commented Sep 27, 2023

Codecov Report

Merging #841 (0e2c9b0) into main (844de14) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #841   +/-   ##
=======================================
  Coverage   96.38%   96.38%           
=======================================
  Files          45       45           
  Lines        2628     2628           
=======================================
  Hits         2533     2533           
  Misses         95       95           
Flag Coverage Δ
unit-tests 96.38% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Copy link
Member

@nickclyde nickclyde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for fixing this so quickly Brady!

@BradySkylight BradySkylight merged commit c3abf8c into main Sep 27, 2023
27 checks passed
@BradySkylight BradySkylight deleted the brady/fix-float-parser-error branch September 27, 2023 20:20
@nickclyde nickclyde mentioned this pull request Sep 27, 2023
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.

2 participants