equinor / xtgeo

XTGeo Python class library for subsurface Surfaces, Cubes, Wells, Grids, Points, etc
https://xtgeo.readthedocs.io/en/latest/
GNU Lesser General Public License v3.0
110 stars 58 forks source link

FIX: Raise on bad GridProperty values #1179

Closed mferrera closed 9 months ago

mferrera commented 9 months ago

Resolves #1115

When a GridProperty was created with values of an unsupported type it would try to return _values, which was unbound due to being unhandled.

codecov-commenter commented 9 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (6b069c2) 80.01% compared to head (5415749) 80.02%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1179 +/- ## ======================================= Coverage 80.01% 80.02% ======================================= Files 98 98 Lines 13679 13680 +1 Branches 2197 2197 ======================================= + Hits 10945 10947 +2 Misses 2002 2002 + Partials 732 731 -1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.