Skip to content

Commit

Permalink
correcting spelling of Tanitomo --> Tanimoto
Browse files Browse the repository at this point in the history
  • Loading branch information
jonrkarr committed Jan 17, 2020
1 parent 70f0dcc commit 8aae05b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions datanator_query_python/query/front_end_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ def get_generic_concs(self, molecule_name):


for entry in ecmdb_data:
entry["tanitomo_similarity"] = id_to_score[entry["m2m_id"]]
entry["tanimoto_similarity"] = id_to_score[entry["m2m_id"]]
for entry in ymdb_data:
entry["tanitomo_similarity"] = id_to_score[entry["ymdb_id"]]
entry["tanimoto_similarity"] = id_to_score[entry["ymdb_id"]]

return(ecmdb_data, ymdb_data)

Expand All @@ -107,9 +107,9 @@ def molecule_name_query(self, molecule_name, organism, abstract_default=False):


for entry in ecmdb_data:
entry["tanitomo_similarity"] = 1
entry["tanimoto_similarity"] = 1
for entry in ymdb_data:
entry["tanitomo_similarity"] = 1
entry["tanimoto_similarity"] = 1


response = []
Expand Down

0 comments on commit 8aae05b

Please sign in to comment.