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

B1500: Transient fix for converting str as '-0.-1' to float #2023

Merged
merged 9 commits into from
Jun 2, 2020

Conversation

lakhotiaharshit
Copy link
Contributor

Keysight B1500 responds with a string containing decimal numbers but with signs on both sides of the decimal. For ex: '-0.-1' this PR add function to covert such strings to float.

Once this is fixed in Keysight firmware the commits in this PR can be reverted.

@astafan8 astafan8 changed the title Transient fix for converting str as '-0.-1' to float B1500: Transient fix for converting str as '-0.-1' to float May 29, 2020
@codecov
Copy link

codecov bot commented May 29, 2020

Codecov Report

Merging #2023 into master will increase coverage by 0.00%.
The diff coverage is 93.75%.

@@           Coverage Diff           @@
##           master    #2023   +/-   ##
=======================================
  Coverage   71.13%   71.13%           
=======================================
  Files         145      145           
  Lines       19498    19507    +9     
=======================================
+ Hits        13869    13877    +8     
- Misses       5629     5630    +1     

@astafan8 astafan8 merged commit 8670f6f into master Jun 2, 2020
@astafan8 astafan8 deleted the keysight_float branch June 2, 2020 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants