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 PointEvalHandler when first point is missing + add some kwargs #466

Merged
merged 5 commits into from
Jul 12, 2022

Conversation

kimauth
Copy link
Member

@kimauth kimauth commented Jul 12, 2022

The PointEvalHandler could not be constructed when the first point was not found.

Also adds keyword arguments for how many neigboring points to use and whether or not to print warnings for not found points. The former was a random hard-coded choice in the first place (so perhaps better allow the user to change it if necessary) and the latter is useful if many points are expected to not be found.

@kimauth kimauth requested a review from fredrikekre July 12, 2022 10:02
src/PointEval/PointEvalHandler.jl Outdated Show resolved Hide resolved
src/PointEval/PointEvalHandler.jl Outdated Show resolved Hide resolved
src/PointEval/PointEvalHandler.jl Outdated Show resolved Hide resolved
Co-authored-by: Fredrik Ekre <ekrefredrik@gmail.com>
@codecov-commenter
Copy link

codecov-commenter commented Jul 12, 2022

Codecov Report

Merging #466 (7f4fc1e) into master (7012e19) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #466   +/-   ##
=======================================
  Coverage   91.33%   91.34%           
=======================================
  Files          22       22           
  Lines        3405     3407    +2     
=======================================
+ Hits         3110     3112    +2     
  Misses        295      295           
Impacted Files Coverage Δ
src/PointEval/PointEvalHandler.jl 92.69% <100.00%> (+0.08%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7012e19...7f4fc1e. Read the comment docs.

@fredrikekre fredrikekre merged commit 4e780c8 into master Jul 12, 2022
@fredrikekre fredrikekre deleted the ka/bugfix_pointeval branch July 12, 2022 11:50
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.

3 participants