forked from equinor/ert
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make it possible to have multiline statements in config
- Loading branch information
1 parent
c9fc8d3
commit 2b8efc7
Showing
6 changed files
with
74 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
The ert configuration file format | ||
================================= | ||
|
||
The ert config file, workflows, workflow job configuration files and forward | ||
model configuration files all share the same syntax. These are lines starting | ||
with one keyword followed by arguments separated by whitespace. e.g. | ||
|
||
:: | ||
|
||
QUEUE_SYSTEM LOCAL | ||
NUM_REALIZATIONS 12 | ||
-- A comment | ||
FORWARD_MODEL DELETE_FILE(<FILES>="file1 file-- file3") | ||
|
||
FORWARD_MODEL TEMPLATE_RENDER( \ | ||
<INPUT_FILES>=parameters.json, \ | ||
<TEMPLATE_FILE>=<CONFIG_PATH>/resources/SPE1.DATA.jinja2, \ | ||
<OUTPUT_FILE>=SPE1.DATA \ | ||
) | ||
|
||
As can be seen, newline can be used inside an argument list by escaping with :code:`\\` (like with bash). Arguments | ||
can be surrounded by quotes (:code:`"`) to make whitespace and :code:`--` part of the argument. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters