-
Notifications
You must be signed in to change notification settings - Fork 59
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
Handle missing surfaces in PropertyStatistics and support changes in input format #753
Handle missing surfaces in PropertyStatistics and support changes in input format #753
Conversation
9a71afa
to
c38d742
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM minor comment only 🙂
) | ||
except ValueError: # Surface does not exist | ||
return ( | ||
dash.dash.no_update, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider changing to dash.no_update instead?
c38d742
to
1f05ecc
Compare
if TYPE_CHECKING: | ||
# pylint: disable=cyclic-import | ||
from ..property_statistics import PropertyStatistics | ||
from ..models import PropertyStatisticsModel |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like you are importing the PropertyStatisticsModel twice
from webviz_subsurface.plugins._property_statistics.models.property_statistics_model import ( | ||
PropertyStatisticsModel, | ||
) | ||
from .selector_view import ( | ||
ensemble_selector, | ||
property_selector, | ||
filter_selector, | ||
source_selector, | ||
) | ||
|
||
if TYPE_CHECKING: | ||
# pylint: disable=cyclic-import | ||
from ..property_statistics import PropertyStatistics | ||
from ..models import PropertyStatisticsModel |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comment here
6a53a0a
to
cc4aff9
Compare
* well completions viewer component test * well completions performance test * merge master branch and format * undo formatting of vector components * update failing snapshots * fix failing snapshots test Co-authored-by: Håvard Bjerke <[email protected]>
Contributor checklist
PropertyStatistics
#752.Count
column from the input data if existing.CHANGELOG.md
, and added it if should be communicated there.