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

Small fixes #98

Merged
merged 3 commits into from
Apr 11, 2024
Merged

Small fixes #98

merged 3 commits into from
Apr 11, 2024

Conversation

wbalmer
Copy link
Contributor

@wbalmer wbalmer commented Apr 9, 2024

Hi Tomas, these are a few very small bugs I found in running some retrievals this past month.

When plotting a free chemistry retrieval, there was no enumerator in the loop so the C/H, O/H, and C/O posteriors were returned with =0.

When global_fsed was set false, and then post processed to make plots, it would give a KeyError: "fsed", which I handled with the try/except statement (not sure if there is a different way you'd prefer to handle that).

The mmw wasn't established in the chemical equilibrium portion of the clear spectrum generator.

@tomasstolker tomasstolker self-requested a review April 10, 2024 07:12
@tomasstolker
Copy link
Owner

Great! Thanks a lot for catching these bugs William!

Added one suggestion to change from try-except to if-then.

@tomasstolker
Copy link
Owner

Thanks again @wbalmer 🙏!

@tomasstolker tomasstolker merged commit b38c9ac into tomasstolker:main Apr 11, 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