diff options
author | Frederick Muriuki Muriithi | 2021-10-27 10:24:28 +0300 |
---|---|---|
committer | BonfaceKilz | 2021-11-04 12:45:57 +0300 |
commit | 84aaf880f32f5293e5e4f1c74a3f284e3c95df2f (patch) | |
tree | e156686b8313bdac5f86c7e9cb2135336f34c73d /gn3/random.py | |
parent | 5079e5077adafdbfd0b7e7c0ef12431e9aed443d (diff) | |
download | genenetwork3-84aaf880f32f5293e5e4f1c74a3f284e3c95df2f.tar.gz |
Remove if clauses: replace with dict
Issue:
https://github.com/genenetwork/gn-gemtext-threads/blob/main/topics/gn1-migration-to-gn2/partial-correlations.gmi
* Remove the if clauses to simplify the code flow: use a dictionary of queries
and select the appropriate query from the dictionary instead.
Diffstat (limited to 'gn3/random.py')
0 files changed, 0 insertions, 0 deletions