From a25d20da8d421f231ea6caf420b57758d1067503 Mon Sep 17 00:00:00 2001 From: Roy Stegeman Date: Tue, 22 Oct 2024 15:37:54 +0100 Subject: [PATCH] remove useless lines --- validphys2/src/validphys/config.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/validphys2/src/validphys/config.py b/validphys2/src/validphys/config.py index b84900de08..072af65ddc 100644 --- a/validphys2/src/validphys/config.py +++ b/validphys2/src/validphys/config.py @@ -1153,13 +1153,7 @@ def produce_nnfit_theory_covmat( f = user_covmat_fitting - @functools.wraps(f) - def res(*args, **kwargs): - return f(*args, **kwargs) - - # Set this to get the same filename regardless of the action. - res.__name__ = "theory_covmat" - return res + return f def produce_fitthcovmat( self, use_thcovmat_if_present: bool = False, fit: (str, type(None)) = None