From b3b74dcdc5478d72f8752fb1f2ca14c46acc40b0 Mon Sep 17 00:00:00 2001 From: DavAug Date: Sun, 26 Nov 2023 13:03:53 +0100 Subject: [PATCH] tweaks --- chi/_predictive_models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'