Age | Commit message (Collapse) | Author |
|
* gn3/api/metadata.py (fetch_species): New end-point.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* gn3/api/metadata.py (list_species): New end-point.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* gn3/api/metadata.py (get_ncbi_genewiki_entries): New end-point.
|
|
* gn3/api/metadata.py: Remove sparql_query import.
* gn3/db/rdf.py: Remove unused imports.
(sparql_query): Delete.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* gn3/api/metadata.py (get_genewiki_entries): Rename this to ...
(get_gn_genewiki_entries): ... this. Create an end-point for querying
GN GeneRIF entries.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* gn3/api/metadata.py: Delete gn3.db.rdf.get_phenotype_metadata.
(phenotype): Rename this to ...
(phenotypes): ... this and implement update logic.
* gn3/db/rdf.py (get_phenotype_metadata): Delete.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* gn3/api/metadata.py: Delete gn3.db.rdf.get_dataset_metadata.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* gn3/db/rdf.py (get_dataset_metadata): Delete.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* gn3/api/metadata.py: Delete gn3.db.rdf.get_genotype_metadata.
(genotype): Rename this to ...
(genotypes): ... this. Construct a query for fetching genotypes and
return a response as json-ld.
|
|
* gn3/api/metadata.py (search_publications): New function.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* gn3/api/metadata.py: Delete gn3.db.rdf.get_publication_metadata.
(publication): Rename this ...
(publications): ... to this. Return a json-ld result.
* gn3/db/rdf.py (get_publication_metadata): Delete.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* gn3/api/metadata.py (search_datasets): New search endpoint with
pagination.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* gn3/api/metadata.py: Import json, SPARQLWrapper.{JSON, JSONLD}.
(dataset): Rename this to ...
(datasets): ... this. Return a well formatted JSONLD result from a
dataset.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* gn3/db/rdf.py (sparql_query): Delete "get_url_local_name".
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* gn3/api/metadata.py (dataset): Update docstring.
* gn3/db/rdf.py (get_dataset_metadata): Simplify CONSTRUCT query.
Also, now you can fetch metadata using either an accession_id or the
dataset's name.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
|
|
|
|
|
|
Enable the "apply diff" feature which actually makes changes to the database
by applying the given diff.
|
|
Fix bug where only one case-attribute value was returned.
|
|
|
|
|
|
* Change the URL for listing an inbredset group's case-attribute diffs
* Create the diff directory if it does not exist
* Add `filename` to the output sent to the browser
|
|
|
|
List diffs under review for a given InbredSet. Regenerate any diff files that
might be deleted while still under review.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Add a `required_access(...)` function to be used to check that the user has
the appropriate privileges to act on the case attributes.
|
|
Update imports after removing the authentication from GN3
|
|
Queue the diffs into files - this might change somewhat once we verify whether
case-attribute editing needs an approval step.
|
|
|
|
Process the edit data into a CSV form for diff generation.
Fix bug in:
* processing of original data into a CSV
* variable passed to DictWriter
* arguments to functions
|
|
Retrieve the samples/strains that relate to a particular InbredSet group.
|
|
|
|
For diff-generation purposes, this commit processes the data into a form that
is useful for generation of the CSV files to be used for the diffs.
|
|
|
|
Extract the fetching of case-attribute names into a separate function that can
be used elsewhere.
|