Skip to content

Commit

Permalink
Match case in error message to lowerCamelCase format used in SPARQL f…
Browse files Browse the repository at this point in the history
…iles.
  • Loading branch information
OmarAI2003 committed Nov 7, 2024
1 parent da47ffd commit 549d05f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scribe_data/check/check_query_forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ def compare_key(components):
select_lower = [i.lower() for i in select_vars]
if select_lower != sorted_lower:
# Note : I returned the sorted cols in the state they are in the sparql file for easier comparison.
return sorted_columns
return [i[0].lower() + i[1:] for i in sorted_columns]

return sorted_lower == select_lower

Expand Down

0 comments on commit 549d05f

Please sign in to comment.