simpeg / geoana

Interactive geoscience (mostly) analytic functions.
MIT License
22 stars 9 forks source link

Fix misleading error message for epsilon values #66

Closed santisoler closed 10 months ago

santisoler commented 11 months ago

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.

codecov[bot] commented 11 months ago

Codecov Report

:exclamation: 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%> (ø)