Skip to content

add numbertype=Float64 option #240

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

Merged
merged 1 commit into from
Nov 3, 2022
Merged

add numbertype=Float64 option #240

merged 1 commit into from
Nov 3, 2022

Conversation

visr
Copy link
Contributor

@visr visr commented Oct 30, 2022

This addresses a part of #198, namely the proposal for numbertype=Float64 support, which I need for reasons explained further down the thread (link).

This is not very generic, so it doesn't support numbertype=BigFloat and the like, since it merely hooks in to the existing checkint optional argument which merely signals if it should try to cast a number to integer or not. However it was relatively easy to do and meets my needs, so perhaps it is an ok start?

@codecov
Copy link

codecov bot commented Oct 30, 2022

Codecov Report

Base: 88.32% // Head: 88.36% // Increases project coverage by +0.04% 🎉

Coverage data is based on head (fc8baba) compared to base (45e5494).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #240      +/-   ##
==========================================
+ Coverage   88.32%   88.36%   +0.04%     
==========================================
  Files           9        9              
  Lines        1721     1728       +7     
==========================================
+ Hits         1520     1527       +7     
  Misses        201      201              
Impacted Files Coverage Δ
src/read.jl 88.58% <100.00%> (+0.28%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Owner

@quinnj quinnj left a comment

Choose a reason for hiding this comment

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

Yeah, I'm ok w/ this for now. Not super pretty, but gets the job done.

@quinnj quinnj merged commit 765c3bf into quinnj:main Nov 3, 2022
@visr visr deleted the numbertype branch November 3, 2022 05:37
@visr
Copy link
Contributor Author

visr commented Nov 11, 2022

Would be great if this could be tagged, so I can start using it.

@quinnj
Copy link
Owner

quinnj commented Nov 13, 2022

Done: 8569ff9

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