aboutsummaryrefslogtreecommitdiff
path: root/wqflask/utility
diff options
context:
space:
mode:
authorZachary Sloan2013-07-19 17:34:52 -0500
committerZachary Sloan2013-07-19 17:34:52 -0500
commit82f493650909e2351035e26e9dc82b16498beb48 (patch)
treebc66a571b7d805a75549526061b16c197cd6bc67 /wqflask/utility
parent6aaefdaae3a9fb068278d9b94d8cdf25d4f8d852 (diff)
downloadgenenetwork2-82f493650909e2351035e26e9dc82b16498beb48.tar.gz
Finished integrating code that reads sample list from geno files
withouot using reaper and caches results so it doesn't need to read the file every single time someone loads a page
Diffstat (limited to 'wqflask/utility')
-rw-r--r--wqflask/utility/helper_functions.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/wqflask/utility/helper_functions.py b/wqflask/utility/helper_functions.py
index d76a32ce..44f5321e 100644
--- a/wqflask/utility/helper_functions.py
+++ b/wqflask/utility/helper_functions.py
@@ -8,11 +8,14 @@ from base.species import TheSpecies
def get_species_dataset_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'])
+ print("After creating dataset")
self.species = TheSpecies(dataset=self.dataset)
+ print("After creating species")
self.this_trait = GeneralTrait(dataset=self.dataset,
name=start_vars['trait_id'],
cellid=None)
+ print("After creating trait")
#if read_genotype:
- self.dataset.group.read_genotype_file()
+ #self.dataset.group.read_genotype_file()
#self.genotype = self.dataset.group.genotype