aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2022-10-17 18:35:50 +0000
committerzsloan2022-10-17 18:35:50 +0000
commit619548466f49c985ad77183e3722a3c47ab85425 (patch)
treecc25cc82ad041548e9c4f66ed724d4089b4c1db4 /wqflask
parent4eb4beafd2643bc4ae47bd034024efa97103d314 (diff)
downloadgenenetwork2-619548466f49c985ad77183e3722a3c47ab85425.tar.gz
Fix bug when initializing Temp DatasetGroups
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/base/data_set/datasetgroup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/base/data_set/datasetgroup.py b/wqflask/base/data_set/datasetgroup.py
index 2861b23d..72577f38 100644
--- a/wqflask/base/data_set/datasetgroup.py
+++ b/wqflask/base/data_set/datasetgroup.py
@@ -40,7 +40,7 @@ class DatasetGroup:
"InbredSet.GeneticType, "
"InbredSet.InbredSetCode "
"FROM InbredSet WHERE Name = %s",
- (dataset.name,))
+ (name,))
results = cursor.fetchone()
if results:
(self.name, self.id, self.genetic_type, self.code) = results