aboutsummaryrefslogtreecommitdiff
path: root/wqflask/utility/helper_functions.py
diff options
context:
space:
mode:
authorZachary Sloan2013-01-31 15:08:01 -0600
committerZachary Sloan2013-01-31 15:08:01 -0600
commitb82eb4a59edb4e1d8bbf3588edeb13e38ead052e (patch)
tree23fb394cae2083838cece81e4f8c0a0804e1d0c0 /wqflask/utility/helper_functions.py
parent8e6fd914688625b686e8bd7da1704e96d83265f1 (diff)
downloadgenenetwork2-b82eb4a59edb4e1d8bbf3588edeb13e38ead052e.tar.gz
Changed reference to 'dataset_name' in keywords to 'dataset' to get
page to work, but will change all references to the dataset name to 'dataset_name' in future to avoid confusion between the dataset name and the actual dataset object
Diffstat (limited to 'wqflask/utility/helper_functions.py')
-rw-r--r--wqflask/utility/helper_functions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/utility/helper_functions.py b/wqflask/utility/helper_functions.py
index 9ecad993..920d9ac6 100644
--- a/wqflask/utility/helper_functions.py
+++ b/wqflask/utility/helper_functions.py
@@ -5,7 +5,7 @@ from base import data_set
def get_dataset_and_trait(self, start_vars):
#assert type(read_genotype) == type(bool()), "Expecting boolean value for read_genotype"
- self.dataset = data_set.create_dataset(start_vars['dataset_name'])
+ self.dataset = data_set.create_dataset(start_vars['dataset'])
self.this_trait = GeneralTrait(dataset=self.dataset.name,
name=start_vars['trait_id'],
cellid=None)