diff options
author | Frederick Muriuki Muriithi | 2022-09-06 11:55:07 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2022-09-06 11:55:07 +0300 |
commit | 2cd740180850c959ae54efb72b14255c358e181c (patch) | |
tree | b45eaab97337e64462f58df7b1389ed8fb4ff886 /wqflask/base/data_set.py | |
parent | 0952533db32a42754fabfbc67e2896dc86922789 (diff) | |
download | genenetwork2-2cd740180850c959ae54efb72b14255c358e181c.tar.gz |
Use dataset name if dataset group name is not set.
Diffstat (limited to 'wqflask/base/data_set.py')
-rw-r--r-- | wqflask/base/data_set.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/base/data_set.py b/wqflask/base/data_set.py index 433365fc..da3c0628 100644 --- a/wqflask/base/data_set.py +++ b/wqflask/base/data_set.py @@ -325,7 +325,7 @@ class DatasetGroup: InbredSet.InbredSetCode FROM InbredSet where Name=%s """ if not name: - query, name = dataset.query_for_group, self.name + query, name = dataset.query_for_group, dataset.name with database_connection() as conn, conn.cursor() as cursor: cursor.execute(query, (name,)) results = cursor.fetchone() |