diff options
author | Lei Yan | 2014-02-22 23:09:20 -0600 |
---|---|---|
committer | Lei Yan | 2014-02-22 23:09:20 -0600 |
commit | 3e83499ba81888f49228d3f445820d4206e0ea46 (patch) | |
tree | 9ea050f103412378c63482311a1b1d496b2cad34 | |
parent | 1e92d78d574956d88fef648cbde4306d78952626 (diff) | |
download | genenetwork2-3e83499ba81888f49228d3f445820d4206e0ea46.tar.gz |
On branch master
-rw-r--r-- | wqflask/maintenance/dataset/datastructure.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wqflask/maintenance/dataset/datastructure.py b/wqflask/maintenance/dataset/datastructure.py index f436d32c..7139856f 100644 --- a/wqflask/maintenance/dataset/datastructure.py +++ b/wqflask/maintenance/dataset/datastructure.py @@ -95,7 +95,7 @@ def get_nextdataid_phenotype(): return dataid def insert_strain(inbredsetid, strainname, updatestrainxref=None): - speciesid = get_species(inbredsetid) + speciesid = get_species(inbredsetid)[0] cursor, con = utilities.get_cursor() sql = """ INSERT INTO Strain @@ -130,7 +130,7 @@ def insert_strain(inbredsetid, strainname, updatestrainxref=None): cursor.execute(sql, (inbredsetid, strainid, orderid, "N", None)) def get_strain(inbredsetid, strainname): - speciesid = get_species(inbredsetid) + speciesid = get_species(inbredsetid)[0] cursor, con = utilities.get_cursor() sql = """ SELECT Strain.`Id`, Strain.`Name` |