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

Any in cloud params vs kzz bug #99

Merged
merged 3 commits into from
May 13, 2024
Merged

Conversation

wbalmer
Copy link
Contributor

@wbalmer wbalmer commented May 1, 2024

Hi Tomas,

A small bug I found in retrieval.py was that there are some cloud setups that don't include kzz (or fsed) as a parameter but should follow the first if statement in _lnlike, otherwise you get an error because cloud_dict is not defined. In my case it was using cloud model 2 from Paul's 2020 paper. In this commit I used a quick loop within an any() instead of testing if kzz was included, and then I ran black on the whole of the file.

Copy link
Owner

@tomasstolker tomasstolker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks William! I remember writing the old if statement thinking that that was probably going to cause a problem at some point 😅. So I am glad you implemented this more elegantly!

@tomasstolker tomasstolker merged commit 4661348 into tomasstolker:main May 13, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants