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

DM-45796: Stop night report crashing when nothing observed #124

Merged
merged 4 commits into from
Oct 15, 2024

Conversation

mfisherlevine
Copy link
Contributor

No description provided.

Copy link

@fritzm fritzm left a comment

Choose a reason for hiding this comment

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

LGTM

if not objects: # there's genuinely nothing now
self.log.info("No objects to plot")
return None

Choose a reason for hiding this comment

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

While I think it will just return the empty plot in that case, but do you want to do the same check and bail with error message in plotPerObjectAirMass()? If just for consistency...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Agreed.

@mfisherlevine mfisherlevine merged commit fc75cfb into main Oct 15, 2024
5 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.

3 participants