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

Handle weird extraneous newlines in AFD temp/pops table #1669

Merged
merged 2 commits into from
Aug 29, 2024

Conversation

greg-does-weather
Copy link
Collaborator

What does this PR do? 🛠️

The policy document says the temp/pops table should follow immediately after the heading element, so that's what we parsed for, but it turns out sometimes there's a newline in between them. This PR adds a test to catch that case and slightly modifies the parser to handle it gracefully.

Copy link
Collaborator

@jamestranovich-noaa jamestranovich-noaa left a comment

Choose a reason for hiding this comment

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

LGTM

@greg-does-weather greg-does-weather merged commit 5d7f0fc into main Aug 29, 2024
17 checks passed
@greg-does-weather greg-does-weather deleted the handle-quirky-afd-pops-table branch August 29, 2024 17:13
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