Age | Commit message (Expand) | Author |
2022-11-28 | Fix pylint errors...* gn3/api/general.py: Delete rdf import. Delete trailing white
spaces.
* gn3/api/metadata.py: Delete trailing white spaces.
| Munyoki Kilyungi |
2022-11-23 | Create a new REST endpoint for fetching a phenotype's metadata...* gn3/api/general.py: (dataset_metadata) Delete.
* gn3/api/metadata.py: Import Blueprint, jsonify, current_app,
SPARQLWrapper and get_dataset_metadata.
(metadata): New Blueprint
(jsonify_dataset_metadata): New function/end-point.
* gn3/app.py: Import metadata
(create_app): Register metadata blueprint.
| Munyoki Kilyungi |
2022-11-02 | Re-implement RDF related code to use monads in its own module...* gn3/api/general.py: Replace gn3.db.datasets import with gn3.db.rdf.
(dataset_metadata) <jsonify>: Replace datasets.dataset_metadata with
rdf.get_dataset_metadata.
* gn3/db/datasets.py: Remove unused imports.
(sparql_query, dataset_metadata): Delete.
* gn3/db/rdf.py: (sparql_query, get_dataset_metadata): New functions.
| Munyoki Kilyungi |
2021-12-02 | Implement dataset metadata API endpoint....* guix.scm: Import (gnu packages rdf).
(genenetwork3)[propagated-inputs]: Add python-sparqlwrapper.
* gn3/settings.py (SPARQL_ENDPOINT): New variable.
* gn3/api/general.py: Import datasets from gn3.db.
(dataset_metadata): New API endpoint.
* gn3/db/datasets.py: Import re, Template from string, Dict and Optional from
typing, JSON and SPARQLWrapper from SPARQLWrapper, SPARQL_ENDPOINT from
gn3.settings.
(sparql_query, dataset_metadata): New functions.
| Arun Isaac |
2021-08-18 | Fix obvious linting errors...* Fix linting errors that do not change the function of the code.
| Muriithi Frederick Muriuki |
2021-08-07 | Add gunicorn support for production | Pjotr Prins |
2021-05-13 | Add end-point for running an rQTL program...* gn3/api/general.py (run_r_qtl): New function.
* gn3/settings.py: New variable.
| BonfaceKilz |
2021-05-13 | Rename file_utils to fs_helpers...Generally avoid naming things with a "utils" prefix/ suffix since it
encourages contributors to dump any new functions there; and over time, as the
code grows, things get messy...
| BonfaceKilz |
2021-03-10 | Add extra endpoint for when TOKEN isn't provided | BonfaceKilz |
2021-03-08 | Replace APP_DEFAULTS dict with actual conf params | BonfaceKilz |
2021-03-08 | Use new extract_uploaded_file fn when uploading metadata...* gn3/api/general.py (upload_metadata): Update docstrings and update the use
of "extract_uploaded_file" fn.
| BonfaceKilz |
2021-02-16 | Return the correct message and status code in "/metadata/upload" | BonfaceKilz |
2021-02-16 | Add new endpoint for uploading data | BonfaceKilz |