10
0
mirror of https://github.com/LCPQ/EMSL_Basis_Set_Exchange_Local synced 2024-12-22 04:13:43 +01:00

Case insensitif for get_basis_data

This commit is contained in:
Thomas Applencourt 2015-03-25 19:57:52 +01:00
parent ce66ab2a93
commit a313b3e243

View File

@ -267,7 +267,7 @@ class EMSL_local(object):
cmd_filter_ele = cond_sql_or("elt", elts) if elts else "(1)"
self.c.execute('''SELECT DISTINCT data from output_tab
WHERE name="{0}"
WHERE name LIKE "{0}"
AND ({1})'''.format(basis_name, cmd_filter_ele))
# We need to take i[0] because fetchall return a tuple [(value),...]