Skip to content

Commit

Permalink
Merge pull request #3 from cssr-tools/saltprec
Browse files Browse the repository at this point in the history
Fix to run one of the salty cases
  • Loading branch information
daavid00 authored Apr 4, 2024
2 parents b0f2c7f + 6a67f64 commit 6176975
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pyopmnearwell/utils/inputvalues.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def readco2eor(lol, dic):

def readsalt(lol, dic):
"""Read the parameters for the salt precipitation simulations"""
if dic["template"] == "salinity":
if dic["template"] in ["salinity", "salinity_uniform_inj"]:
dic["salinity"] = float((lol[13][0].strip()).split()[0])
else:
dic["salt_props"] = [float((lol[13][0].strip()).split()[j]) for j in range(7)]
Expand Down

0 comments on commit 6176975

Please sign in to comment.