diff --git a/n3fit/src/n3fit/scripts/vp_setupfit.py b/n3fit/src/n3fit/scripts/vp_setupfit.py index fe844117bb..3fe9ae8b47 100644 --- a/n3fit/src/n3fit/scripts/vp_setupfit.py +++ b/n3fit/src/n3fit/scripts/vp_setupfit.py @@ -38,24 +38,18 @@ from validphys.app import App from validphys.config import Config, ConfigError, Environment, EnvironmentError_ -SETUPFIT_FIXED_CONFIG = dict( - actions_=[ - 'datacuts check_t0pdfset', - 'theory check_positivity', - ] -) +SETUPFIT_FIXED_CONFIG = dict(actions_=['datacuts check_t0pdfset', 'theory check_positivity']) SETUPFIT_PROVIDERS = [ + 'n3fit.n3fit_checks_provider', + 'validphys.commondata', + 'validphys.covmats', 'validphys.filters', - 'validphys.theorycovariance.construction', 'validphys.results', - 'validphys.covmats', - 'n3fit.n3fit_checks_provider', + 'validphys.theorycovariance.construction', ] -SETUPFIT_DEFAULTS = dict( - use_cuts='internal', -) +SETUPFIT_DEFAULTS = dict(use_cuts='internal') log = logging.getLogger(__name__) @@ -70,8 +64,6 @@ class SetupFitError(Exception): """Exception raised when setup-fit cannot succeed and knows why""" - pass - class SetupFitEnvironment(Environment): """Container for information to be filled at run time""" @@ -178,7 +170,7 @@ class SetupFitApp(App): config_class = SetupFitConfig def __init__(self): - super(SetupFitApp, self).__init__(name='setup-fit', providers=SETUPFIT_PROVIDERS) + super().__init__(name='setup-fit', providers=SETUPFIT_PROVIDERS) @property def argparser(self):