aboutsummaryrefslogtreecommitdiff
path: root/gn3/db/__init__.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2022-01-12 11:14:31 +0300
committerFrederick Muriuki Muriithi2022-01-12 11:14:31 +0300
commit394a785da393ad659d198526f7c27a2191e90e9e (patch)
tree9137df072cdbfffd6e8443ec14c996710070e0d4 /gn3/db/__init__.py
parenta7f5d93bec04b9142c8a14fb17a5059f069c6326 (diff)
downloadgenenetwork3-394a785da393ad659d198526f7c27a2191e90e9e.tar.gz
Deduplicate query to fetch data for 'Publish' traits
The queries run in the `get_trait_csv_sample_data` and `retrieve_publish_trait_data` functions in the `gn3.db.traits` module were mostly similar. This commit changes that, by making the `get_trait_csv_sample_data` function make use of the results from calling the `retrieve_publish_trait_data` function.
Diffstat (limited to 'gn3/db/__init__.py')
0 files changed, 0 insertions, 0 deletions