Skip to content

Commit

Permalink
Add cov rescale to config builder
Browse files Browse the repository at this point in the history
  • Loading branch information
andreicuceu committed Dec 1, 2023
1 parent 40b86d8 commit fa89614
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vega/build_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,8 @@ def _build_corr_config(self, name, corr_info, git_hash):
config['data']['distortion-file'] = corr_info.get('distortion-file')
if 'covariance-file' in corr_info:
config['data']['covariance-file'] = corr_info.get('covariance-file')

Check warning on line 219 in vega/build_config.py

View check run for this annotation

Codecov / codecov/patch

vega/build_config.py#L219

Added line #L219 was not covered by tests
if 'cov_rescale' in corr_info:
config['data']['cov_rescale'] = corr_info.get('cov_rescale')

Check warning on line 221 in vega/build_config.py

View check run for this annotation

Codecov / codecov/patch

vega/build_config.py#L221

Added line #L221 was not covered by tests

config['cuts']['r-min'] = str(corr_info.get('r-min', 10))
config['cuts']['r-max'] = str(corr_info.get('r-max', 180))
Expand Down

0 comments on commit fa89614

Please sign in to comment.