diff --git a/src/scribe_data/check/check_query_forms.py b/src/scribe_data/check/check_query_forms.py index 40f463a4..dd181977 100644 --- a/src/scribe_data/check/check_query_forms.py +++ b/src/scribe_data/check/check_query_forms.py @@ -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