Skip to content

Commit e531ed6

Browse files
committed
Retiring --warnings
1 parent 15fb1d7 commit e531ed6

File tree

20 files changed

+14
-56
lines changed

20 files changed

+14
-56
lines changed

.github/workflows/ci_pycopm_ubuntu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
5252
- name: Run tests
5353
run: |
54-
pytest --cov=pycopm --cov-report term-missing tests/
54+
pytest --cov=pycopm --exitfirst --cov-report term-missing tests/
5555
5656
- name: Run hello world example
5757
run: |

docs/_sources/examples.rst.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ The following are the drogon model from `opm-tests <https://github.com/OPM/opm-t
3838

3939
For Drogon, a scored is printed after the run to compared the error to the results available at
4040
https://webviz-subsurface-example.azurewebsites.net/history-match. While `input.toml <https://github.com/cssr-tools/pycopm/blob/main/examples/configurations/drogon/input.toml>`_
41-
only runs a single simulation that is used in testing **pycopm**, `hm.toml <https://github.com/cssr-tools/pycopm/blob/main/examples/configurations/drogon/hm.toml>`_ runs a history matching
41+
only runs one HM iteration with two ensemble members that is used in testing **pycopm**, `hm.toml <https://github.com/cssr-tools/pycopm/blob/main/examples/configurations/drogon/hm.toml>`_ runs a history matching
4242
with a better score (i.e., less error compare to the observation data). This configuration file is also an example of how to use mpi to run Flow built from source
4343
(set the flow path to your flow location; if you do not have mpi, you can remove it and still run the example).
4444

docs/_sources/introduction.rst.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,3 @@ where
6060
-ijk Given i,j,k indices in the input model, return the modified i,j,k corresponding positions ('' by default; if not empty, e.g., '1,2,3', then there will not be generation of modified files, only the i,j,k mapped indices in the terminal).
6161
-d Options to transform the x,y,z coordinates: 'translate [10,-5,4]' adds the values in meters to the coordinates, 'scale [1,2,3]' multiplies the coordinates by the given values respectively, and 'rotatexy 45' applies a rotation in degrees in the xy plane (rotatexz and rotateyz applies a rotation around the y and x axis respectively) ('' by default).
6262
-explicit Set to 1 to explicitly write the cell values in the SOLUTION section in the deck ('0' by default).
63-
-warnings Set to 1 to show Python warnings ('0' by default).

docs/examples.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ <h2>Via configuration files<a class="headerlink" href="#via-configuration-files"
123123
<p class="admonition-title">Note</p>
124124
<p>For Drogon, a scored is printed after the run to compared the error to the results available at
125125
<a class="reference external" href="https://webviz-subsurface-example.azurewebsites.net/history-match">https://webviz-subsurface-example.azurewebsites.net/history-match</a>. While <a class="reference external" href="https://github.com/cssr-tools/pycopm/blob/main/examples/configurations/drogon/input.toml">input.toml</a>
126-
only runs a single simulation that is used in testing <strong>pycopm</strong>, <a class="reference external" href="https://github.com/cssr-tools/pycopm/blob/main/examples/configurations/drogon/hm.toml">hm.toml</a> runs a history matching
126+
only runs one HM iteration with two ensemble members that is used in testing <strong>pycopm</strong>, <a class="reference external" href="https://github.com/cssr-tools/pycopm/blob/main/examples/configurations/drogon/hm.toml">hm.toml</a> runs a history matching
127127
with a better score (i.e., less error compare to the observation data). This configuration file is also an example of how to use mpi to run Flow built from source
128128
(set the flow path to your flow location; if you do not have mpi, you can remove it and still run the example).</p>
129129
</div>

docs/introduction.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,6 @@ <h2>Roadmap<a class="headerlink" href="#roadmap" title="Link to this heading">
193193
<dt><kbd><span class="option">-e<var>xplicit</var></span></kbd></dt>
194194
<dd><p>Set to 1 to explicitly write the cell values in the SOLUTION section in the deck (‘0’ by default).</p>
195195
</dd>
196-
<dt><kbd><span class="option">-w<var>arnings</var></span></kbd></dt>
197-
<dd><p>Set to 1 to show Python warnings (‘0’ by default).</p>
198-
</dd>
199196
</dl>
200197
</section>
201198
</section>

docs/searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/text/examples.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ The following are the drogon model from `opm-tests <https://github.com/OPM/opm-t
3838

3939
For Drogon, a scored is printed after the run to compared the error to the results available at
4040
https://webviz-subsurface-example.azurewebsites.net/history-match. While `input.toml <https://github.com/cssr-tools/pycopm/blob/main/examples/configurations/drogon/input.toml>`_
41-
only runs a single simulation that is used in testing **pycopm**, `hm.toml <https://github.com/cssr-tools/pycopm/blob/main/examples/configurations/drogon/hm.toml>`_ runs a history matching
41+
only runs one HM iteration with two ensemble members that is used in testing **pycopm**, `hm.toml <https://github.com/cssr-tools/pycopm/blob/main/examples/configurations/drogon/hm.toml>`_ runs a history matching
4242
with a better score (i.e., less error compare to the observation data). This configuration file is also an example of how to use mpi to run Flow built from source
4343
(set the flow path to your flow location; if you do not have mpi, you can remove it and still run the example).
4444

docs/text/introduction.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,3 @@ where
6060
-ijk Given i,j,k indices in the input model, return the modified i,j,k corresponding positions ('' by default; if not empty, e.g., '1,2,3', then there will not be generation of modified files, only the i,j,k mapped indices in the terminal).
6161
-d Options to transform the x,y,z coordinates: 'translate [10,-5,4]' adds the values in meters to the coordinates, 'scale [1,2,3]' multiplies the coordinates by the given values respectively, and 'rotatexy 45' applies a rotation in degrees in the xy plane (rotatexz and rotateyz applies a rotation around the y and x axis respectively) ('' by default).
6262
-explicit Set to 1 to explicitly write the cell values in the SOLUTION section in the deck ('0' by default).
63-
-warnings Set to 1 to show Python warnings ('0' by default).

examples/configurations/drogon/input.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ flow = "flow"
33

44
# Set the model parameters
55
field = "drogon" # Geological model (norne or drogon)
6-
mode = "single-run" # Mode to run (single-run, files, or ert)
6+
mode = "ert" # Mode to run (single-run, files, or ert)
77
X = [0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0] # Array of x-coarsening
88
Y = [0,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0] # Array of y-coarsening
99
Z = [0,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0] # Array of z-coarsening

examples/configurations/norne/input.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ flow = "flow --newton-min-iterations=1"
33

44
# Set the model parameters
55
field = "norne" # Geological model (norne or drogon)
6-
mode = "ert" # Mode to run (single-run, files, or ert)
6+
mode = "single-run" # Mode to run (single-run, files, or ert)
77
X = [0,2,0,2,2,0,2,0,2,0,2,0,2,2,0,2,0,2,2,0,2,0,2,2,0,2,0,2,2,0,2,0,2,0,2,0,2,2,0,2,2,0,2,2,2,2,0] # Array of x-coarsening
88
Y = [0,2,0,2,2,0,2,0,2,2,0,2,0,2,2,0,2,0,2,2,0,2,0,2,2,0,2,0,2,2,0,2,0,2,2,0,2,0,2,2,0,2,0,2,2,0,2,0,2,2,0,2,0,2,2,0,2,0,2,2,0,2,0,2,0,2,0,2,2,0,2,0,2,2,0,2,0,2,2,0,2,0,2,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,2,2,2,2,2,2,2,2,0] # Array of y-coarsening
99
Z = [0,0,2,0,0,2,2,2,2,2,0,2,2,2,2,2,0,0,2,0,2,2,0] # Array of z-coarsening

0 commit comments

Comments
 (0)