diff options
author | Muriithi Frederick Muriuki | 2021-08-09 14:25:49 +0300 |
---|---|---|
committer | Muriithi Frederick Muriuki | 2021-08-09 14:25:49 +0300 |
commit | 243d76bd5cdb989ee7d3311e44aafb7e8f7da712 (patch) | |
tree | 0869114d6207343d3c97fca597d7843aa7d8aa5e /tests/test_data/BXD_geno.txt.gz | |
parent | 8f022ae1a31224d0526443ad9779f30206b4a770 (diff) | |
download | genenetwork3-243d76bd5cdb989ee7d3311e44aafb7e8f7da712.tar.gz |
Set up the trait dataset type correctly
* gn3/db/traits.py: setup `trait_dataset_type`
* tests/unit/db/test_traits.py: fix tests
The type ('Temp', 'Geno', 'Publish', and 'ProbeSet') relate to a trait's
dataset, and not the trait itself. This commit updates the code to take this
into consideration.
The dataset type is also set up from a trait's full name, therefore this
commit removes the `trait_type` argument from the `retrieve_trait_info`
function.
Diffstat (limited to 'tests/test_data/BXD_geno.txt.gz')
0 files changed, 0 insertions, 0 deletions