Skip to content

Commit

Permalink
remove 'theory_covmat_flag' also from n3fit_exec
Browse files Browse the repository at this point in the history
  • Loading branch information
RoyStegeman committed Nov 15, 2024
1 parent 14ff70e commit 7aa81a2
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions n3fit/src/n3fit/scripts/n3fit_exec.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ def from_yaml(cls, o, *args, **kwargs):
N3FIT_FIXED_CONFIG['positivity_bound'] = None

# Theorycovmat flags and defaults
N3FIT_FIXED_CONFIG['theory_covmat_flag'] = False
N3FIT_FIXED_CONFIG['use_thcovmat_in_fitting'] = False
N3FIT_FIXED_CONFIG['use_thcovmat_in_sampling'] = False
if (thconfig := file_content.get('theorycovmatconfig')) is not None:
Expand All @@ -166,11 +165,6 @@ def from_yaml(cls, o, *args, **kwargs):
N3FIT_FIXED_CONFIG['use_thcovmat_in_sampling'] = thconfig.get(
'use_thcovmat_in_sampling', True
)
if (
N3FIT_FIXED_CONFIG['use_thcovmat_in_sampling']
or N3FIT_FIXED_CONFIG['use_thcovmat_in_fitting']
):
N3FIT_FIXED_CONFIG['theory_covmat_flag'] = True
N3FIT_FIXED_CONFIG['use_user_uncertainties'] = thconfig.get(
'use_user_uncertainties', False
)
Expand Down

0 comments on commit 7aa81a2

Please sign in to comment.