aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-04-30Add a method for saving a dataset's metadata to git.Munyoki Kilyungi
* gn3/db/datasets.py (retrieve_metadata): New function. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-04-30Rename retrieve_dataset_metadata to retrieve_metadata.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-04-30Remove an f-string that doesn't have any interpolated variables.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-04-30Add command function that returns an Either monad.Munyoki Kilyungi
* gn3/commands.py: Import Either, Left, Right. (monadic_run_cmd): New function. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-04-29Prevent error when group isn't in parents/f1s JSON filezsloan
2024-04-15Delete unused imports.Munyoki Kilyungi
* gn3/api/llm.py: (rate_document, logging): Remove unused imports. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-04-15Fix error in flycheck-mode check in .dir-locals.pyMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-04-15Remove empty '() in .dir-locals.elMunyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-04-15Show trailing white spaces in python-mode.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-04-15Update ".dir-locals.el" with same python defaults.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-04-11Include parents/f1s in default samplelist + add boolean options for themzsloan
2024-04-04Rephrase user feedback for Fahamu API in case it takes too long to respond.Alexander_Kabui
2024-03-26add sqlite-db-path configAlexander_Kabui
2024-03-26fetch pubmed file from /gn-meta/litAlexander_Kabui
2024-03-25pep8 formattingAlexander_Kabui
2024-03-25save db data on SQLITE_PATH file pathAlexander_Kabui
2024-03-25fix user_id typeAlexander_Kabui
2024-03-25enable logigng info for api <rating>Alexander_Kabui
2024-03-25match user id to type strAlexander_Kabui
2024-03-25pep8 formattingAlexander_Kabui
2024-03-25fetch tmpdir from current app connfigAlexander_Kabui
2024-03-25fix db path issue for lllmAlexander_Kabui
2024-03-25use data dir for filesAlexander_Kabui
2024-03-25ignore missing import for biopythonAlexander_Kabui
2024-03-22use tmp for test dbAlexander_Kabui
2024-03-22dump gnqa rating data to dbAlexander_Kabui
2024-03-22add gnqa db pathAlexander_Kabui
2024-03-18Merge pull request #154 from genenetwork/feature/pubmed-metadataAlexander Kabui
pubmed metadata
2024-03-18pep8 formattingAlexander_Kabui
2024-03-18delete test fileAlexander_Kabui
2024-03-18fetch pubmed data from tmpdirAlexander_Kabui
2024-03-18pep8 formattingAlexander_Kabui
2024-03-15add pubmed metadataAlexander_Kabui
2024-03-15add error handling for invalid tokensAlexander_Kabui
2024-03-15Remove ALL html templates from GeneNetwork3Frederick Muriuki Muriithi
GN3 provides an API to provide data, and needs no HTML UI.
2024-03-13Add documentation on what the script is for and does.Frederick Muriuki Muriithi
2024-03-13Remove debug prints in the scriptFrederick Muriuki Muriithi
2024-03-12Commit migration script for CaseAttribute* tablesFrederick Muriuki Muriithi
2024-03-04Check for exception args and provide traceback.Frederick Muriuki Muriithi
2024-03-04Handle generic exceptions gracefully.Frederick Muriuki Muriithi
2024-02-25Disable too-many-arguments for "run_reaper".Munyoki Kilyungi
* gn3/computations/qtlreaper.py: Disable "too-many-arguments" pylint check. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-02-25Fix line-too-long error.Munyoki Kilyungi
* gn3/heatmaps.py (build_heatmap): Break down call to run_reaper command into many lines to fix pylint error. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-02-25Correctly handle URLError.Munyoki Kilyungi
Using the `internal_server_error` function to handle URLError raised an exception because the `pnf` exception did not have some attributes. * gn3/errors.py (url_server_error): New function. (register_error_handlers): Register above function to handle URLError. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-02-25Construct genofile_path using pathlib module.Munyoki Kilyungi
* gn3/db/datasets.py: Remove os import. (retrieve_sample_list): Replace os.path with Path. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-02-19Pass qtlreaper command path as argument to run_reaperzsloan
Originally the system would get the path from the environment
2024-02-15Use correct names for dataset entries in json result.Munyoki Kilyungi
Since we are appending to an already flattened json-ld file, we don't need to add the prefixes. * gn3/api/metadata.py (DATASET_CONTEXT): Add missing "experimentType" key. * gn3/db/datasets.py (retrieve_dataset_metadata): Match the __subject dict with entries from DATASET_CONTEXT. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-02-14Delete type hints from handle_sparql_errors.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-02-14Delete trailing space.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-02-14Remove try ... except clauses around RDF endpoints.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-02-14Minor pep-8 fixes.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>