Skip to content

Commit

Permalink
Merge pull request #140 from thomasckng/run-manager-dev
Browse files Browse the repository at this point in the history
Fix bug in PR
  • Loading branch information
xuyuon authored Aug 30, 2024
2 parents 15a103d + 77a75dc commit 863f34c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/jimgw/single_event/runManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ def initialize_prior(self) -> prior.CombinePrior:
prior_class = getattr(prior, parameters["name"])
except AttributeError:
raise ValueError(f"{parameters['name']} not recognized.")
parameters = parameters.copy()
parameters.pop("name")
priors.append(prior_class(parameter_names=[name], **parameters))
return prior.CombinePrior(priors)
Expand Down

0 comments on commit 863f34c

Please sign in to comment.