From eecc2a1a71814d797a772ea0ac5e06e1345ae7bf Mon Sep 17 00:00:00 2001 From: Patrick Shriwise Date: Tue, 17 Sep 2024 14:47:03 -0500 Subject: [PATCH] Explicitly allow setting tally estimator to None --- openmc/tallies.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openmc/tallies.py b/openmc/tallies.py index 4ea713092f3..4ca54c6084e 100644 --- a/openmc/tallies.py +++ b/openmc/tallies.py @@ -301,6 +301,8 @@ def estimator(self): @estimator.setter def estimator(self, estimator): + if estimator is None: + self._estimator = None cv.check_value('estimator', estimator, ESTIMATOR_TYPES) self._estimator = estimator