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

Set types onto models based on their profiles #3160

Merged
merged 9 commits into from
Apr 1, 2024
Merged

Conversation

nstephenh
Copy link
Contributor

This sets the categories on all models that have a profile or profile link as a direct descendent. This will allow us to check, for example, the number of infantry models in a given unit for #3152 .

It's also an improvement in data quality, and highlights some errors in the existing data like misspellings or missing unit types.

@nstephenh nstephenh requested review from The4D6 and Mayegelt March 28, 2024 19:05
The4D6
The4D6 previously approved these changes Mar 29, 2024
Copy link
Collaborator

@The4D6 The4D6 left a comment

Choose a reason for hiding this comment

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

I can't seem to see any units that are missing form this change.

As long as we commit to applying this to future releases (eg Blackshields and Shattered Legions, though they use the marines units) then we should be ok

@nstephenh nstephenh marked this pull request as ready for review April 1, 2024 18:24
@nstephenh nstephenh force-pushed the models-get-unit-types branch from dd01d08 to 2e47ac3 Compare April 1, 2024 18:34
@nstephenh nstephenh merged commit 33885c0 into main Apr 1, 2024
2 checks passed
@nstephenh nstephenh deleted the models-get-unit-types branch April 1, 2024 18:40
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