aboutsummaryrefslogtreecommitdiff
path: root/tests/unit/db
diff options
context:
space:
mode:
authorMunyoki Kilyungi2022-12-01 15:32:42 +0300
committerBonfaceKilz2022-12-06 11:28:28 +0300
commitc75ed75c6a5987eed6672be924870f86282ed6d6 (patch)
tree9d91afcbef1ea9c2ec6557b86b5187f5093374ab /tests/unit/db
parent09f4d9c4bec6e3395296a69ce718dea30240ed54 (diff)
downloadgenenetwork3-c75ed75c6a5987eed6672be924870f86282ed6d6.tar.gz
Use a dataset's name to fetch it's metadata from RDF
* gn3/api/metadata.py (jsonify_dataset_metadata): Rewrite metadata end-point to use a dataset's name instead of it's accession_id. * gn3/db/rdf.py (get_dataset_metadata): Replace accession_id with name. Use one single RDF query instead of multiple queries.
Diffstat (limited to 'tests/unit/db')
0 files changed, 0 insertions, 0 deletions