From c4032d9de016a78edad501c662f347c7cde612e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anna=20Hedstr=C3=B6m?= Date: Fri, 23 Feb 2024 12:00:54 +0100 Subject: [PATCH] remove metric init requirements in inverse_estimation.py --- quantus/metrics/inverse_estimation.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/quantus/metrics/inverse_estimation.py b/quantus/metrics/inverse_estimation.py index 37a70d20..49a59c3c 100644 --- a/quantus/metrics/inverse_estimation.py +++ b/quantus/metrics/inverse_estimation.py @@ -119,11 +119,11 @@ def __init__( **kwargs, ) - # Asserts and warnings. - if metric_init.name == "ROAD": - metric_init.return_only_values = True - if metric_init.name == "Region-Perturbation": - metric_init.order = "morf" + # Asserts and warnings. # Skip for now, might revisit later. + # if metric_init.name == "ROAD": + # metric_init.return_only_values = True + #if metric_init.name == "Region Perturbation": + # metric_init.order = "morf" # TODO. Update warnings. if not self.disable_warnings: