You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently added an geolocation rule in nextstrain/avian-flu#121 that I was surprised was not already included in the "central" geolocation rules in ncov-ingest. While auditing the "central" rules for #1488, I realized that this was due to the different string casing of the rules.
North America/USA/Ca/* vs North America/USA/CA/*
The raw location matching should be case-insensitive so that we don't have to maintain rules for the different string casings.
Side note, my recent experience with fauna has made me wary of case-insensitive location matching, but it should be fine here because we do a hierarchical location match.
The text was updated successfully, but these errors were encountered:
warn("{}->{} did not have an associated lat/long value (matching performed in lower case). Auspice won't be able to display this location.".format(trait_info["key"], deme))
Context
I recently added an geolocation rule in nextstrain/avian-flu#121 that I was surprised was not already included in the "central" geolocation rules in ncov-ingest. While auditing the "central" rules for #1488, I realized that this was due to the different string casing of the rules.
North America/USA/Ca/*
vsNorth America/USA/CA/*
The raw location matching should be case-insensitive so that we don't have to maintain rules for the different string casings.
Side note, my recent experience with fauna has made me wary of case-insensitive location matching, but it should be fine here because we do a hierarchical location match.
The text was updated successfully, but these errors were encountered: