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 misleading error message for epsilon values #66

Merged
merged 3 commits into from
Oct 30, 2023
Merged

Conversation

santisoler
Copy link
Member

In BaseEM class, epsilon properties are allowed to be zero or
positive, although the error message stated that epsilon should be
greater than zero. Fix the error message to agree with the implemented
logic and also print the offending value.

In `BaseEM` class, epsilon properties are allowed to be zero or
positive, although the error message stated that epsilon should be
greater than zero. Fix the error message to agree with the implemented
logic and also print the offending value.
geoana/em/base.py Outdated Show resolved Hide resolved
@santisoler santisoler requested a review from lheagy September 21, 2023 00:11
@codecov
Copy link

codecov bot commented Sep 21, 2023

Codecov Report

❗ No coverage uploaded for pull request base (main@7cfdb78). Click here to learn what that means.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main      #66   +/-   ##
=======================================
  Coverage        ?   87.47%           
=======================================
  Files           ?       29           
  Lines           ?     3043           
  Branches        ?        0           
=======================================
  Hits            ?     2662           
  Misses          ?      381           
  Partials        ?        0           
Files Coverage Δ
geoana/em/base.py 100.00% <100.00%> (ø)

Copy link
Member

@jcapriot jcapriot left a comment

Choose a reason for hiding this comment

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

all good now

@jcapriot jcapriot merged commit 5408065 into main Oct 30, 2023
12 checks passed
@jcapriot jcapriot deleted the epsilon-equal-zero branch October 30, 2023 18:30
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