From 8d6416037cceee22881ab7b333e1cfc75c23dc65 Mon Sep 17 00:00:00 2001 From: Luca Mantani Date: Thu, 28 Nov 2024 10:25:41 +0100 Subject: [PATCH] code factor --- src/smefit/loader.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/smefit/loader.py b/src/smefit/loader.py index 17166607..4260a420 100644 --- a/src/smefit/loader.py +++ b/src/smefit/loader.py @@ -45,7 +45,8 @@ def check_missing_operators(loaded_corrections, coeff_config): if missing_operators != []: raise ValueError( f"{missing_operators} not in the theory. Comment it out in setup script and restart." - f"In case a cutoff was applied, the operator(s) {missing_operators} did not survive the mask. " + "In case a cutoff was applied" + f"the operator(s) {missing_operators} did not survive the mask." ) @@ -130,7 +131,8 @@ def __init__( def apply_cutoff_mask(self, cutoff_scale): """ - Updates previously loaded theory and datasets by filtering out points with scales above the cutoff scale + Updates previously loaded theory and datasets by filtering out + points with scales above the cutoff scale Parameters ----------