Skip to content

Fix bug with extra whitespace#154

Merged
james-bruten-mo merged 1 commit intoMetOffice:mainfrom
jennyhickson:trim_whitespace
Jan 5, 2026
Merged

Fix bug with extra whitespace#154
james-bruten-mo merged 1 commit intoMetOffice:mainfrom
jennyhickson:trim_whitespace

Conversation

@jennyhickson
Copy link
Collaborator

@jennyhickson jennyhickson commented Jan 5, 2026

Description

Summary

If the username is typed into the project box with extra whitespace then workload.py won't find a match to include the review in that persons tally. Strip any extra white space when extracting the reviewers from the project data to avoid this.

Copy link
Collaborator

@james-bruten-mo james-bruten-mo left a comment

Choose a reason for hiding this comment

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

Looks sensible to me

@james-bruten-mo james-bruten-mo merged commit 519fb69 into MetOffice:main Jan 5, 2026
5 checks passed
@jennyhickson jennyhickson added this to the Spring 2026 milestone Jan 29, 2026
@jennyhickson jennyhickson deleted the trim_whitespace branch February 13, 2026 11:41
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