diff options
author | Muriithi Frederick Muriuki | 2021-07-28 09:42:13 +0300 |
---|---|---|
committer | BonfaceKilz | 2021-07-29 15:24:51 +0300 |
commit | 02791f15d6b4940ae8be07fe9d4f8487d8291c78 (patch) | |
tree | eefc9ac07fedfa8ab5ae53098b666942de8b9876 /docs | |
parent | bf4e211ea1e639a6a50046ec598e2b4aed40b0ca (diff) | |
download | genenetwork3-02791f15d6b4940ae8be07fe9d4f8487d8291c78.tar.gz |
Retrieve 'ProbeSet' trait name
Issue:
https://github.com/genenetwork/gn-gemtext-threads/blob/main/topics/gn1-migration-to-gn2/clustering.gmi
* gn3/db/traits.py: new function (retrieve_probeset_trait_name)
* tests/unit/db/test_traits.py: test(s) for new function
Add a function to retrieve the name of a 'ProbeSet' trait in a manner
similar to genenetwork1's retrieval of the same, as implemented here
https://github.com/genenetwork/genenetwork1/blob/master/web/webqtl/base/webqtlDataset.py#L140-154
Unlike in genenetwork1, we do not mutate an object, instead, we return the
values as retrieved from the database, and the caller will deal with the
returned values as appropriate.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions