diff options
author | Zachary Sloan | 2013-07-19 16:13:47 -0500 |
---|---|---|
committer | Zachary Sloan | 2013-07-19 16:13:47 -0500 |
commit | 6aaefdaae3a9fb068278d9b94d8cdf25d4f8d852 (patch) | |
tree | f002469b1ef94ec5de6e379f1bc4aa0e182a3849 /wqflask/maintenance/gen_select_dataset.py | |
parent | 0fcadee805a6d4a2007e57a69ab130eb9b1c1a3c (diff) | |
download | genenetwork2-6aaefdaae3a9fb068278d9b94d8cdf25d4f8d852.tar.gz |
Created file gen_group_samplelists that iterates through all genofiles
and builds each groups' samplelist
Diffstat (limited to 'wqflask/maintenance/gen_select_dataset.py')
-rw-r--r-- | wqflask/maintenance/gen_select_dataset.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/wqflask/maintenance/gen_select_dataset.py b/wqflask/maintenance/gen_select_dataset.py index 8cb94f20..d4e47327 100644 --- a/wqflask/maintenance/gen_select_dataset.py +++ b/wqflask/maintenance/gen_select_dataset.py @@ -115,7 +115,7 @@ def build_types(species, group): (all types except phenotype/genotype are tissues) """ - Cursor.execute("""select distinct Tissue.Name, Tissue.Name + Cursor.execute("""select distinct Tissue.Name, concat(Tissue.Name, ' mRNA') from ProbeFreeze, ProbeSetFreeze, InbredSet, Tissue, Species where Species.Name = %s and Species.Id = InbredSet.SpeciesId and InbredSet.Name = %s and @@ -192,6 +192,8 @@ def main(): datasets=datasets, ) + print("data:", data) + output_file = """../wqflask/static/new/javascript/dataset_menu_structure.json""" with open(output_file, 'w') as fh: |