Skip to content

Commit

Permalink
Correct errors wrt documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jcrivenaes committed Nov 22, 2022
1 parent 5afcc96 commit ccf7361
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -125,5 +125,5 @@ compatible with upload to SUMO. This involves some changes:
dates: !include_from tests/yaml/global_config3a.yml::global.DATES
diffdates: !include_from tests/yaml/global_config3a.yml::global.DIFFDATES
metadata:
content: saturation
attribute: saturation
unit: fraction
3 changes: 2 additions & 1 deletion tests/test_scripts/test_grid3d_average_map1.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

import pytest
import xtgeo

import xtgeoapp_grd3dmaps.avghc.grid3d_average_map as grid3d_hc_thickness

SOURCEPATH = Path(__file__).absolute().parent.parent.parent
Expand All @@ -28,7 +29,7 @@ def test_average_map1a(datatree):
assert z1poro.values.mean() == pytest.approx(0.1598, abs=0.001)


def test_average_map1b_output_docs(datatree):
def test_average_map1b_output_add2docs(datatree):
"""Test HC thickness with YAML config example 1b ROFF based.
Note that plots here goes directly into the Sphinx documentation!
Expand Down
3 changes: 2 additions & 1 deletion tests/test_scripts/test_grid3d_hc_thickness1.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import numpy as np
import pytest
import xtgeo

import xtgeoapp_grd3dmaps.avghc.grid3d_hc_thickness as grid3d_hc_thickness

SOURCEPATH = Path(__file__).absolute().parent.parent.parent
Expand Down Expand Up @@ -37,7 +38,7 @@ def test_hc_thickness1a(datatree):
assert np.nanstd(val) == pytest.approx(0.199886, 0.001)


def test_hc_thickness1b_output_docs(datatree):
def test_hc_thickness1b_output_add2docs(datatree):
"""HC thickness with YAML config example 1b; zonation in own YAML file.
Note that plots here goes into the Sphinx documentation!
Expand Down

0 comments on commit ccf7361

Please sign in to comment.