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

Make all body part ids lowercase #821

Merged
merged 3 commits into from Sep 4, 2021
Merged

Make all body part ids lowercase #821

merged 3 commits into from Sep 4, 2021

Conversation

Coolthulhu
Copy link
Member

I used this:

find data/ -name '*.json' -print0 | xargs -0 -n1 sed -i -E 's/"(((LEG_|ARM_|FOOT_|HAND_)(EITHER|L|R))|(HEAD|TORSO|EYES|MOUTH|LEGS|ARMS|HANDS|FEET))/"\L\1/g'

And then restored data/json/body_parts.json because it addresses legacy IDs.

Closes #808

@Coolthulhu Coolthulhu self-assigned this Sep 4, 2021
@Coolthulhu Coolthulhu merged commit e9e4f48 into upload Sep 4, 2021
@olanti-p olanti-p deleted the bodypart-update branch October 11, 2021 15: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.

Old body part ids are still in some jsons
1 participant