diff options
author | Zachary Sloan | 2012-12-18 17:15:09 -0600 |
---|---|---|
committer | Zachary Sloan | 2012-12-18 17:15:09 -0600 |
commit | daea7eb0eb4eef445140275522703e7e2214154b (patch) | |
tree | 7290ce8e531fd26170af9b72d577170649de2d95 /wqflask/base/data_set.py | |
parent | a0ab498f670a674b96e6f10064e787fb995403ac (diff) | |
download | genenetwork2-daea7eb0eb4eef445140275522703e7e2214154b.tar.gz |
Created new file species.py and species class object TheSpecies
Converted html for the mapping tabs to bootstrap and redid html inside of
the Interval Mapping tab
Added text input for # of permutation tests and bootstrap tests
Diffstat (limited to 'wqflask/base/data_set.py')
-rwxr-xr-x | wqflask/base/data_set.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/wqflask/base/data_set.py b/wqflask/base/data_set.py index 2182fe9e..612b9209 100755 --- a/wqflask/base/data_set.py +++ b/wqflask/base/data_set.py @@ -30,6 +30,7 @@ from htmlgen import HTMLgen2 as HT import reaper import webqtlConfig +from base import species from dbFunction import webqtlDatabaseFunction from utility import webqtlUtil @@ -145,7 +146,7 @@ class DataSet(object): def __init__(self, name): - assert name + assert name, "Need a name" self.name = name self.id = None self.type = None @@ -155,7 +156,10 @@ class DataSet(object): self.check_confidentiality() self.retrieve_other_names() - self.group = DatasetGroup(self) # sets self.group and self.group_id + + self.species = species.TheSpecies(self) + self.group = DatasetGroup(self) # sets self.group and self.group_id and gets genotype + def get_desc(self): |