Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in warning issued when enforcing LAL kwargs #41

Open
jacobgolomb opened this issue Sep 23, 2024 · 0 comments
Open

Error in warning issued when enforcing LAL kwargs #41

jacobgolomb opened this issue Sep 23, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@jacobgolomb
Copy link
Contributor

The warning introduced by this MR: https://git.ligo.org/lscsoft/bilby/-/merge_requests/1269 is printed by this line https://git.ligo.org/lscsoft/bilby/-/blob/master/bilby/gw/source.py?ref_type=heads#L672.

This raises a KeyError because I don't think you can print a dict with the .format method like this. I think it needs to be changed to .format(waveform_kwargs=waveform_kwargs).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants