Skip to content

Commit

Permalink
one true value in synonyms
Browse files Browse the repository at this point in the history
  • Loading branch information
ianlongden committed Apr 18, 2024
1 parent 066eb7f commit b32eb1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions add-test_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,9 +363,9 @@ def load_pub_author_pubprop(parsed_yaml):
mrna_id = cursor.fetchone()[0]

# add synonyms
cursor.execute(syn_sql, ("fullname-{}".format(i+1), cvterm_id['fullname'], "fullname-{}RA".format(i+1)))
cursor.execute(syn_sql, ("fullname-{}RA".format(i+1), cvterm_id['fullname'], "fullname-{}RA".format(i+1)))
name_id = cursor.fetchone()[0]
cursor.execute(syn_sql, ("symbol-{}".format(i+1), cvterm_id['symbol'], "symbol-{}RA".format(i+1)))
cursor.execute(syn_sql, ("symbol-{}RA".format(i+1), cvterm_id['symbol'], "symbol-{}RA".format(i+1)))
symbol_id = cursor.fetchone()[0]

# add feature_synonym
Expand Down

0 comments on commit b32eb1c

Please sign in to comment.