Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
* gn3/app.py (create_app): Do not log user information.
|
|
|
|
|
|
* add entry route for gn_llms
* add gn_llms reference doc ids
* init authorization module for gn-llm
* Add class for parsing unprocessable response
* add init config file
* add clienmodule:gn-llm fahamu interface
* Add module descriptor for client file
* reponse data handler
* add response file handler
* add processing file
* remove unnecessary files
* init code refactoring
* Restructure code to module
* refactor code:disble pylint for testing on cd
|
|
* gn3/api/metadata.py (probesets): Update RDF query.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* gn3/api/metadata.py: Reshape the data in a nice way by first framing
and compacting the json-ld result.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* gn3/api/metadata.py (probesets): Update context.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* gn3/api/metadata.py: (PHENOTYPE_CONTEXT): Move "rdfs", "gnt",
"gnc"...
(BASE_CONTEXT): ... here.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* gn3/api/metadata.py: (DATASET_CONTEXT): Remove "ex:" prefixes. Add
new prefixes for citation, platform, GoTree, tissueInfo, contactWebUrl
and contactName.
(datasets): Update query.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* gn3/api/metadata.py (phenotypes): Use gnt:belongsToGroup instead of xkos:classifiedUnder.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* gn3/api/metadata.py (phenotypes): Delete "args".
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* gn3/api/metadata.py (phenotypes): Add "/phenotypes/<group>/<name>"
to this endpoint.
(fetch_phenotype_by_group): Delete.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* gn3/api/metadata.py (phenotypes): Filter for "dcat:Dataset" in
json-ld context.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* gn3/api/metadata.py (phenotypes): Delete "name" from template
substitution.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* gn3/api/metadata.py (search_datasets): Return distinct search
results.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* gn3/api/metadata.py (search_datasets): Replace query_and_frame with
query_frame_and_compact.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* gn3/api/metadata.py (DATASET_CONTEXT): Add key for "contributors."
(datasets): Fetch a dataset's contributors.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* gn3/api/metadata.py (DATASET_CONTEXT): Add key for "specifics".
(datasets): Fetch a dataset's specifics.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* gn3/db/rdf.py: Import jsonld.
(query_frame_and_compact, query_and_compact, query_and_frame): New
functions.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* gn3/computations/gemma.py: Delete reimport "Qptional".
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
This commit addresses the mypy issue below by ignoring the construct
result.
```
error: Item "None" of "bytes | str | dict[Any, Any] | Graph | Document | None" has no attribute "serialize" [union-attr]
```
|
|
Ran the command:
pipx run no_implicit_optional ./
in the root directory.
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* gn3/api/metadata.py (fetch_group_by_species): New end-point.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|