From a0635f58f3b5c9480d75c85530e649a76e48e2ba Mon Sep 17 00:00:00 2001
From: RosalynLP <rosalynlaurap@gmail.com>
Date: Fri, 25 Sep 2020 16:02:49 +0100
Subject: [PATCH] removing import and adding validphys.covmats to vpsetupfit

---
 validphys2/src/validphys/scripts/vp_setupfit.py           | 3 ++-
 validphys2/src/validphys/theorycovariance/construction.py | 1 -
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/validphys2/src/validphys/scripts/vp_setupfit.py b/validphys2/src/validphys/scripts/vp_setupfit.py
index e9aed8d6f2..7065334794 100644
--- a/validphys2/src/validphys/scripts/vp_setupfit.py
+++ b/validphys2/src/validphys/scripts/vp_setupfit.py
@@ -48,7 +48,8 @@ SETUPFIT_FIXED_CONFIG = dict(
 
 SETUPFIT_PROVIDERS = ['validphys.filters',
                       'validphys.theorycovariance.construction',
-                      'validphys.results',]
+                      'validphys.results',
+                      'validphys.covmats']
 
 SETUPFIT_DEFAULTS = dict(
     use_cuts= 'internal',
diff --git a/validphys2/src/validphys/theorycovariance/construction.py b/validphys2/src/validphys/theorycovariance/construction.py
index 47b1beabda..d0a3acc75d 100644
--- a/validphys2/src/validphys/theorycovariance/construction.py
+++ b/validphys2/src/validphys/theorycovariance/construction.py
@@ -19,7 +19,6 @@ from validphys.results import groups_central_values, groups_central_values_no_ta
 from validphys.results import Chi2Data, results
 from validphys.calcutils import calc_chi2, all_chi2_theory, central_chi2_theory
 from validphys.theorycovariance.theorycovarianceutils import process_lookup, check_correct_theory_combination
-from validphys.covmats import sqrt_covmat
 
 log = logging.getLogger(__name__)
 
-- 
GitLab