Skip to content
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

Updating the README #1

Merged
merged 1 commit into from
Jun 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<a href="https://www.python.org/"><img src="https://img.shields.io/badge/python-3.8%20|%203.9%20|%203.10%20|%203.11%20|%203.12-blue.svg"></a>
[![Code style](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)
[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
<img src="docs/_static/pycopm.gif" width="900" height="200">
<img src="docs/text/figs/pycopm.gif" width="900" height="200">

# pycopm: An open-source coarsening framework for OPM Flow

Expand Down
3 changes: 1 addition & 2 deletions docs/_sources/output_folder.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
Output folder
=============

The following screenshot shows the generated ERT configuration file and folders in the selected output folder after executing **pycopm**
in the .
The following screenshot shows the generated ERT configuration file and folders in the selected output folder after executing **pycopm**.

.. figure:: figs/output.png

Expand Down
3 changes: 1 addition & 2 deletions docs/output_folder.html
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,7 @@

<section id="output-folder">
<h1>Output folder<a class="headerlink" href="#output-folder" title="Link to this heading"></a></h1>
<p>The following screenshot shows the generated ERT configuration file and folders in the selected output folder after executing <strong>pycopm</strong>
in the .</p>
<p>The following screenshot shows the generated ERT configuration file and folders in the selected output folder after executing <strong>pycopm</strong>.</p>
<figure class="align-default" id="id1">
<img alt="_images/output.png" src="_images/output.png" />
<figcaption>
Expand Down
3 changes: 1 addition & 2 deletions docs/text/output_folder.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
Output folder
=============

The following screenshot shows the generated ERT configuration file and folders in the selected output folder after executing **pycopm**
in the .
The following screenshot shows the generated ERT configuration file and folders in the selected output folder after executing **pycopm**.

.. figure:: figs/output.png

Expand Down
4 changes: 2 additions & 2 deletions src/pycopm/utils/generate_coarser_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
def create_deck(dic):
"""Dry run to generate the files"""
dic["flags"] = "--parsing-strictness=low --enable-dry-run=true"
os.system(f"{dic['flow']} {dic['deck']}.DATA {dic["flags"]} & wait\n")
os.system(f"{dic['flow']} {dic['deck']}.DATA {dic['flags']} & wait\n")

# Read the data
dic["field"] = "generic"
Expand Down Expand Up @@ -64,7 +64,7 @@ def create_deck(dic):
write_props(dic)
process_the_deck(dic)
with open(
f"{dic['exe']}/{dic['fol']}/{dic["deck"].upper()}_pycopm.DATA",
f"{dic['exe']}/{dic['fol']}/{dic['deck'].upper()}_PYCOPM.DATA",
"w",
encoding="utf8",
) as file:
Expand Down
Loading