Closed david-i-berry closed 2 years ago
https://github.com/wmo-im/pywcmp/blob/30259599a44ab1839d36248b89f9d4afc0207d11/pywcmp/kpi.py#L227
Test fails when title contains punctuation or spaces, e.g.
title = "My Great Dataset Title" title.isalnum()
returns False
Suggest using isascii().
cc @josusky
PR in #63. I've also dropped CI testing for Python 3.6 (it's time, and isascii was introduced in 3.7).
isascii
https://github.com/wmo-im/pywcmp/blob/30259599a44ab1839d36248b89f9d4afc0207d11/pywcmp/kpi.py#L227
Test fails when title contains punctuation or spaces, e.g.
returns False
Suggest using isascii().