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

refactor: country parsing #198

Merged
merged 2 commits into from
Apr 18, 2024
Merged

Conversation

pamfilos
Copy link
Contributor

No description provided.

* step 1: take countries from XML, if exist
* step 2: if no country added, parse 'value' field
  and add to 'country' field
* step 3: parse final country, through 'COUNTRIES_DEFAULT_MAPPING'
  to get correct display name
* adds pycountry
@pamfilos pamfilos force-pushed the countries-mapping branch from e3e2e7c to f1b40d0 Compare April 18, 2024 14:35
Signed-off-by: pamfilos <[email protected]>
@pamfilos pamfilos force-pushed the countries-mapping branch from f1b40d0 to cb1c602 Compare April 18, 2024 14:58
@pamfilos pamfilos merged commit cb1c602 into cern-sis:main Apr 18, 2024
1 check passed
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