Skip to content

Commit

Permalink
fix ignore parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
hammannr committed Oct 11, 2024
1 parent 7a5d797 commit ff49044
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions blueice/likelihood.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,10 @@ def source_shape_parameters(self):
self.source_apply_efficiency,
self.source_efficiency_names
):
ignore_parameters = source.config['dont_hash_settings']
ignore_parameters = set(source.config['dont_hash_settings'])
# The efficiecny parameter doesn't need to be hashed but it needs to be passed to the morpher
if apply_eff:
ignore_parameters.pop(eff_name, None)
ignore_parameters.discard(eff_name)
shape_parameters = OrderedDict({k: v for k, v in self.shape_parameters.items() if k not in ignore_parameters})
if shape_parameters:
source_shape_parameters[sn] = shape_parameters
Expand Down

0 comments on commit ff49044

Please sign in to comment.