Skip to content

Commit

Permalink
evaluator: Add warning that MPIEvaluator is experimental, feedback link
Browse files Browse the repository at this point in the history
Add a warning to the MPIEvaluator that it's still experimental and its interface and functionality might change in future releases.

Feedback is welcome at: #311
  • Loading branch information
EwoutH committed Nov 15, 2023
1 parent dff46cd commit a943910
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ema_workbench/em_framework/evaluators.py
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,11 @@ class MPIEvaluator(BaseEvaluator):

def __init__(self, msis, n_processes=None, **kwargs):
super().__init__(msis, **kwargs)
warnings.warn(
"The MPIEvaluator is experimental. Its interface and functionality might change in future releases.\n"
"We welcome your feedback at: https://github.com/quaquel/EMAworkbench/discussions/311",
FutureWarning,
)
self._pool = None
self.n_processes = n_processes

Expand Down

0 comments on commit a943910

Please sign in to comment.