Skip to content

Commit

Permalink
Protect build config
Browse files Browse the repository at this point in the history
  • Loading branch information
andreicuceu committed Dec 4, 2023
1 parent e752b81 commit a743364
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vega/build_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,8 @@ def _build_main_config(self, fit_type, fit_info, parameters, git_hash):
config['data sets']['zeff'] = str(self.zeff_in)
corr_paths = [str(path) for path in self.corr_paths]
config['data sets']['ini files'] = ' '.join(corr_paths)
config['data sets']['global-cov-file'] = fit_info.get('global_cov_file', 'None')
if 'global_cov_file' in fit_info:
config['data sets']['global-cov-file'] = fit_info.get('global_cov_file')

# Write the scale parameters functions
config['cosmo-fit type'] = {}
Expand Down

0 comments on commit a743364

Please sign in to comment.