Skip to content

Commit

Permalink
Remove emitter_kwargs error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
btjanaka authored Aug 1, 2021
1 parent 774767f commit ef289a9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions ribs/optimizers/_optimizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,6 @@ def ask(self):
Raises:
RuntimeError: This method was called without first calling
:meth:`tell`.
ValueError: ``emitter_kwargs`` is a list of dict but the list length
is not the same as the number of emitters.
"""
if self._asked:
raise RuntimeError("ask() was called twice in a row.")
Expand Down Expand Up @@ -143,8 +141,6 @@ def tell(self, objective_values, behavior_values, metadata=None):
:meth:`ask`.
ValueError: ``objective_values``, ``behavior_values``, or
``metadata`` has the wrong shape.
ValueError: ``emitter_kwargs`` is a list of dict but the list length
is not the same as the number of emitters.
"""
if not self._asked:
raise RuntimeError("tell() was called without calling ask().")
Expand Down

0 comments on commit ef289a9

Please sign in to comment.