Skip to content

Commit

Permalink
Remove --iter-num from ert cli
Browse files Browse the repository at this point in the history
This option is no longer available
and is ignored by the application
  • Loading branch information
HakonSohoel committed Nov 20, 2024
1 parent 57e6b70 commit cc40665
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/ert/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,14 +146,6 @@ def valid_ensemble(user_input: str) -> Union[str, UUID]:
return valid_name(user_input)


def valid_iter_num(user_input: str) -> str:
validator = IntegerArgument(from_value=0)
validated = validator.validate(user_input)
if validated.failed():
strip_error_message_and_raise_exception(validated)
return user_input


def valid_num_iterations(user_input: str) -> str:
validator = IntegerArgument(from_value=1)
validated = validator.validate(user_input)
Expand Down Expand Up @@ -366,14 +358,6 @@ def get_ert_parser(parser: Optional[ArgumentParser] = None) -> ArgumentParser:
default="ensemble-experiment",
help="Name of the experiment",
)
ensemble_experiment_parser.add_argument(
"--iter-num",
type=valid_iter_num,
default=0,
required=False,
help="Specification of which iteration number is about to be made. "
"Use iter-num to avoid recomputing the priors.",
)

# ensemble_smoother_parser
ensemble_smoother_description = (
Expand Down

0 comments on commit cc40665

Please sign in to comment.