diff options
author | zsloan | 2020-07-28 12:44:24 -0500 |
---|---|---|
committer | GitHub | 2020-07-28 12:44:24 -0500 |
commit | 40f761b5b1f4e5fe24dde4ace91065f1007c0aa1 (patch) | |
tree | d1ba4c6a62023259679682f33e20bbc307955ab2 /wqflask/tests/base/data.py | |
parent | 97128f26c5a6ca38d49656f2fb4ab6d4306107d2 (diff) | |
parent | c1e22edf5f08b6d9c79a6608b8faf434578e246d (diff) | |
download | genenetwork2-40f761b5b1f4e5fe24dde4ace91065f1007c0aa1.tar.gz |
Merge pull request #414 from BonfaceKilz/tests/add-tests-for-base-module
Tests/add tests for base module
Diffstat (limited to 'wqflask/tests/base/data.py')
-rw-r--r-- | wqflask/tests/base/data.py | 110 |
1 files changed, 110 insertions, 0 deletions
diff --git a/wqflask/tests/base/data.py b/wqflask/tests/base/data.py new file mode 100644 index 00000000..06a5a989 --- /dev/null +++ b/wqflask/tests/base/data.py @@ -0,0 +1,110 @@ +gen_menu_json = """ +{ + "datasets": { + "human": { + "HLC": { + "Liver mRNA": [ + [ + "320", + "HLC_0311", + "GSE9588 Human Liver Normal (Mar11) Both Sexes" + ] + ], + "Phenotypes": [ + [ + "635", + "HLCPublish", + "HLC Published Phenotypes" + ] + ] + } + }, + "mouse": { + "BXD": { + "Genotypes": [ + [ + "600", + "BXDGeno", + "BXD Genotypes" + ] + ], + "Hippocampus mRNA": [ + [ + "112", + "HC_M2_0606_P", + "Hippocampus Consortium M430v2 (Jun06) PDNN" + ] + ], + "Phenotypes": [ + [ + "602", + "BXDPublish", + "BXD Published Phenotypes" + ] + ] + } + } + }, + "groups": { + "human": [ + [ + "HLC", + "Liver: Normal Gene Expression with Genotypes (Merck)", + "Family:None" + ] + ], + "mouse": [ + [ + "BXD", + "BXD", + "Family:None" + ] + ] + }, + "species": [ + [ + "human", + "Human" + ], + [ + "mouse", + "Mouse" + ] + ], + "types": { + "human": { + "HLC": [ + [ + "Phenotypes", + "Traits and Cofactors", + "Phenotypes" + ], + [ + "Liver mRNA", + "Liver mRNA", + "Molecular Trait Datasets" + ] + ] + }, + "mouse": { + "BXD": [ + [ + "Phenotypes", + "Traits and Cofactors", + "Phenotypes" + ], + [ + "Genotypes", + "DNA Markers and SNPs", + "Genotypes" + ], + [ + "Hippocampus mRNA", + "Hippocampus mRNA", + "Molecular Trait Datasets" + ] + ] + } + } +} +""" |