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

fix: Handle 'inf' in _convert_numeric #1449

Merged

Conversation

simonzihlmann
Copy link
Contributor

Reading data from the sqlite database goes through a converter (_convert_numeric) in qcodes/dataset/sqlite_base.py that now can handle 'inf' as the numeric value properly. Previously, it threw an error because it incorrectly assumed that 'inf' would be an integer.

@astafan8

Reading data from the sqlite database goes through a converter (_convert_numeric) in qcodes/dataset/sqlite_base.py that now can handle 'inf' as the numeric value properly. Previously, I threw an error because it incorrectly assumed that 'inf' would be an integer.
@codecov
Copy link

codecov bot commented Jan 17, 2019

Codecov Report

Merging #1449 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master   #1449      +/-   ##
=========================================
+ Coverage    73.8%   73.8%   +<.01%     
=========================================
  Files          92      92              
  Lines       10444   10446       +2     
=========================================
+ Hits         7708    7710       +2     
  Misses       2736    2736

Copy link
Contributor

@astafan8 astafan8 left a comment

Choose a reason for hiding this comment

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

qcodes/dataset/sqlite_base.py Show resolved Hide resolved
@jenshnielsen jenshnielsen merged commit 97c8c13 into microsoft:master Mar 11, 2019
giulioungaretti pushed a commit that referenced this pull request Mar 11, 2019
Merge: 021eea9 8851df7
Author: Jens Hedegaard Nielsen <jenshnielsen@gmail.com>

    Merge pull request #1449 from simonzihlmann/fix/handle_inf_in_convert_numeric
@simonzihlmann simonzihlmann deleted the fix/handle_inf_in_convert_numeric branch March 11, 2019 20:16
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.

None yet

4 participants