Skip to content

Commit

Permalink
Revert argument 'algorithm' -> 'mode'
Browse files Browse the repository at this point in the history
  • Loading branch information
Markus Fanebust Dregi authored and markusdregi committed Apr 24, 2019
1 parent 8724238 commit 94d540e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/ert.in
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ def runShell( args ):

def runCli( args ):
exec_path = os.path.join(os.path.dirname(__file__), "ert_cli")
runExec(exec_path, [args.config, args.mode, args.target_case])
runExec(exec_path, [args.config, args.algorithm, args.target_case])


def validate_cli_args(parser, args):
if args.mode == "ensemble_smoother" and args.target_case == "default":
if args.algorithm == "ensemble_smoother" and args.target_case == "default":
msg = "Target file system and source file system can not be the same. "\
"They were both: <default>. Please set using --target-case on "\
"the command line."
Expand Down

0 comments on commit 94d540e

Please sign in to comment.