Skip to content

Commit

Permalink
Cast to string when lowercasing in rank_attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
stijn-uva committed Sep 23, 2024
1 parent c67a046 commit 3691349
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion processors/metrics/rank_attribute.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def missing_value_placeholder(data, field_name):
# keep track of occurrences of found items per relevant time period
for value in values:
if to_lowercase:
value = value.lower()
value = str(value).lower()

if rank_style == "overall" and value not in overall_top:
continue
Expand Down

0 comments on commit 3691349

Please sign in to comment.