Skip to content

Commit cc40665

Browse files
committed
Remove --iter-num from ert cli
This option is no longer available and is ignored by the application
1 parent 57e6b70 commit cc40665

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/ert/__main__.py

-16
Original file line numberDiff line numberDiff line change
@@ -146,14 +146,6 @@ def valid_ensemble(user_input: str) -> Union[str, UUID]:
146146
return valid_name(user_input)
147147

148148

149-
def valid_iter_num(user_input: str) -> str:
150-
validator = IntegerArgument(from_value=0)
151-
validated = validator.validate(user_input)
152-
if validated.failed():
153-
strip_error_message_and_raise_exception(validated)
154-
return user_input
155-
156-
157149
def valid_num_iterations(user_input: str) -> str:
158150
validator = IntegerArgument(from_value=1)
159151
validated = validator.validate(user_input)
@@ -366,14 +358,6 @@ def get_ert_parser(parser: Optional[ArgumentParser] = None) -> ArgumentParser:
366358
default="ensemble-experiment",
367359
help="Name of the experiment",
368360
)
369-
ensemble_experiment_parser.add_argument(
370-
"--iter-num",
371-
type=valid_iter_num,
372-
default=0,
373-
required=False,
374-
help="Specification of which iteration number is about to be made. "
375-
"Use iter-num to avoid recomputing the priors.",
376-
)
377361

378362
# ensemble_smoother_parser
379363
ensemble_smoother_description = (

0 commit comments

Comments
 (0)