diff --git a/chi/_predictive_models.py b/chi/_predictive_models.py index d8043eea..f2fe3803 100644 --- a/chi/_predictive_models.py +++ b/chi/_predictive_models.py @@ -265,7 +265,7 @@ def sample( else: try: ids = self._posterior.individual - except AttributeError: + except AttributeError: # pragma: no cover # Posterior only contains information about one individual. # Hack to make this work individual = 'some value'