aboutsummaryrefslogtreecommitdiff
path: root/gn3/function_helpers.py
diff options
context:
space:
mode:
authorMuriithi Frederick Muriuki2021-07-30 10:33:40 +0300
committerMuriithi Frederick Muriuki2021-07-30 10:33:40 +0300
commit238450af8aa3395b3ae5a636fada67206a863d85 (patch)
tree46ae9c5a26c290ae11443a327fbe498460ba698d /gn3/function_helpers.py
parentbeec957107298eef2b2a825ba0a744e4e95b0dcd (diff)
downloadgenenetwork3-238450af8aa3395b3ae5a636fada67206a863d85.tar.gz
Rework db functions to enable postprocessing
Issue: https://github.com/genenetwork/gn-gemtext-threads/blob/main/topics/gn1-migration-to-gn2/clustering.gmi * Rework the database functions to return a dict of key-value pairs, which eases the postprocessing of the trait information. The postprocessing is mainly to try an maintain data compatibility with the code that is at the following locations: https://github.com/genenetwork/genenetwork1/blob/master/web/webqtl/base/webqtlTrait.py https://github.com/genenetwork/genenetwork1/blob/master/web/webqtl/base/webqtlDataset.py https://github.com/genenetwork/genenetwork1/blob/master/web/webqtl/heatmap/Heatmap.py This was mainly a proof-of-concept, and the functions do not have testing added for them: there is therefore need to add testing for the new functions, and probably even rework them if they are found to be complicated.
Diffstat (limited to 'gn3/function_helpers.py')
0 files changed, 0 insertions, 0 deletions