Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-07-29 | Make name retrieval more general | Muriithi Frederick Muriuki | |
Issue: https://github.com/genenetwork/gn-gemtext-threads/blob/main/topics/gn1-migration-to-gn2/clustering.gmi * gn3/db/traits.py: make function more general * tests/unit/db/test_traits.py: parametrize the tests Make the name retrieval more general for the different types of traits by changing the column specification and table as appropriate. | |||
2021-07-29 | Retrieve 'ProbeSet' trait name | Muriithi Frederick Muriuki | |
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. | |||
2021-05-08 | Fix pep-8 errors | BonfaceKilz | |
2021-05-08 | db: traits: Add extra method for looking up webqtl datasets | BonfaceKilz | |
2021-05-08 | db: traits: Update method for inserting publication method | BonfaceKilz | |
2021-05-08 | Add method for inserting publication_data | BonfaceKilz | |
2021-05-08 | Add webqtlCaseData DS to keep track of case data in one trait | BonfaceKilz | |
2021-05-08 | Replace namedtuple with a dataclass | BonfaceKilz | |
2021-05-08 | Add method for inserting phenotypes | BonfaceKilz | |
2021-05-08 | Add method for inserting publications | BonfaceKilz | |
2021-05-08 | Add method to fetch riset name and id | BonfaceKilz | |