1
0
mirror of https://github.com/ilri/csv-metadata-quality.git synced 2025-06-05 08:53:03 +02:00

2 Commits

Author SHA1 Message Date
901efb987d chore(deps): update dependency pytz to v2025 2025-03-25 03:03:25 +00:00
b7a81b8ec7 csv_metadata_quality/fix.py: minor logic fix
Minor logic fix in missing regions.
2025-02-19 16:01:36 +03:00
2 changed files with 4 additions and 4 deletions

View File

@ -389,7 +389,7 @@ def countries_match_regions(row, exclude):
# string (length would be 0).
if row[region_column_name] is not None and len(row[region_column_name]) > 0:
row[region_column_name] = (
row[region_column_name] + "||" + "||".join(missing_regions)
row[region_column_name] + "||".join(missing_regions)
)
else:
row[region_column_name] = "||".join(missing_regions)

View File

@ -327,9 +327,9 @@ python-dateutil==2.9.0.post0 \
python-stdnum==1.20 \
--hash=sha256:111008e10391d54fb2afad2a10df70d5cb0c6c0a7ec82fec6f022cb8712961d3 \
--hash=sha256:ad2a2cf2eb025de408210235f36b4ae31252de3186240ccaa8126e117cb82690
pytz==2025.1 \
--hash=sha256:89dd22dca55b46eac6eda23b2d72721bf1bdfef212645d81513ef5d03038de57 \
--hash=sha256:c2db42be2a2518b28e65f9207c4d05e6ff547d1efa4086469ef855e4ab70178e
pytz==2025.2 \
--hash=sha256:360b9e3dbb49a209c21ad61809c7fb453643e048b38924c765813546746e81c3 \
--hash=sha256:5ddf76296dd8c44c26eb8f4b6f35488f3ccbf6fbbd7adee0b7262d43f0ec2f00
requests==2.32.3 \
--hash=sha256:55365417734eb18255590a9ff9eb97e9e1da868d4ccd6402399eaf68af20a760 \
--hash=sha256:70761cfe03c773ceb22aa2f671b4757976145175cdfca038c02654d061d6dcc6