You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The YAML parser currently used in webviz-config, PyYAML, has a lot of built-in magic when parsing date values. This magic causes the value of the date key for the DiskUsage plugin in webviz-full-demo.yml to be interpreted incorrectly.
date: 2020-07-11# Date only necessary if you want an explicit date.
PyYAML ends up parsing 2020-07-11 as a datetime.date. This is not the expected input to the DiskUsage plugin which expects a string input. Until we either patch PyYaml or switch YAML parser, keys such as this should be enclosed in quotes.
The YAML parser currently used in webviz-config, PyYAML, has a lot of built-in magic when parsing date values. This magic causes the value of the
date
key for theDiskUsage
plugin inwebviz-full-demo.yml
to be interpreted incorrectly.webviz-subsurface-testdata/webviz_examples/webviz-full-demo.yml
Lines 28 to 32 in 8520e3c
PyYAML ends up parsing
2020-07-11
as adatetime.date
. This is not the expected input to theDiskUsage
plugin which expects a string input. Until we either patch PyYaml or switch YAML parser, keys such as this should be enclosed in quotes.Related to this issue in
webviz-config
: equinor/webviz-config#396The text was updated successfully, but these errors were encountered: