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

Revise prettyString function to not lowercase further characters #685

Merged
merged 1 commit into from
Dec 18, 2018

Conversation

trvrb
Copy link
Member

@trvrb trvrb commented Dec 16, 2018

@jameshadfield ---

The function prettyString takes snake_case and converts to Title Case. This keeps basic functionality in place, but now doesn't lowercase following characters. This makes it so that the input "3c3.A" remains "3c3.A". This improves display of flu clade names in the frequency plot.

I tested this across other builds and coloring and could not find any regressions.

The function prettyString takes snake_case and converts to Title Case. This keeps basic functionality in place, but now doesn't lowercase following characters. This makes it so that the input "3c3.A" remains "3c3.A". This improves display of flu clade names.
Copy link
Member

@jameshadfield jameshadfield left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@jameshadfield jameshadfield merged commit 5a6d15b into master Dec 18, 2018
@jameshadfield jameshadfield deleted the pretty-string branch December 18, 2018 11:48
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