From 6eef978ac34b913891ccc45666b27bd7a78c8f86 Mon Sep 17 00:00:00 2001 From: aaarrti Date: Thu, 5 Oct 2023 17:28:34 +0200 Subject: [PATCH] * --- quantus/metrics/randomisation/model_parameter_randomisation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quantus/metrics/randomisation/model_parameter_randomisation.py b/quantus/metrics/randomisation/model_parameter_randomisation.py index 4991bf821..6d4bcac32 100644 --- a/quantus/metrics/randomisation/model_parameter_randomisation.py +++ b/quantus/metrics/randomisation/model_parameter_randomisation.py @@ -391,4 +391,4 @@ def compute_correlation_per_sample( return corr_coeffs def evaluate_batch(self, *args, **kwargs): - raise RuntimeError("This is unexpected.") + raise RuntimeError("`evaluate_batch` must never be called for `ModelParameterRandomisation`.")