aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/views.py
AgeCommit message (Expand)Author
2024-08-29Modify gnqna search method from post to put.Alexander_Kabui
2024-08-29integrate gnqa history delete functionality.Alexander_Kabui
2024-08-29Handle attributeError when getting error codes.Alexander_Kabui
2024-08-29BugFix: return correct status code for generic exceptions handler.Alexander_Kabui
2024-08-29Update endpoints and add search history functionality.Alexander_Kabui
2024-08-29View file code cleanup for gnqa.Alexander_Kabui
2024-08-28Fix GN3 URIs for case attribute editing...Also improve error logging somewhat (but still need to properly display the error in a template) zsloan
2024-08-28Add link to GeneCup to tool buttons...This also includes a function for converting a list of traits/datasets to symbols, which was added to trait.py zsloan
2024-08-28Check metadata exists before setting 'editable' field in get_dataset....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2024-08-28Revert "Feature/gnqa search history"Alexander Kabui
2024-05-29integrate gnqa history delete functionality.Alexander_Kabui
2024-05-29Handle attributeError when getting error codes.Alexander_Kabui
2024-05-28BugFix: return correct status code for generic exceptions handler.Alexander_Kabui
2024-05-23Update endpoints and add search history functionality.Alexander_Kabui
2024-05-22View file code cleanup for gnqa.Alexander_Kabui
2024-05-14Revert "Disable gnqa functionality."...This reverts commit 01eba6e9b54e45bc937983e33b439a353118de2c. Munyoki Kilyungi
2024-05-13Disable gnqa functionality.... * to test the functionality use ga.genenetwork.org Alexander_Kabui
2024-05-09Remove debug statements.Alexander_Kabui
2024-05-09Improve error messaging for errors in gn fahamu UI.Alexander_Kabui
2024-04-30Use a dataset's label instead of it's id when fetching auth details....* gn2/wqflask/views.py (get_dataset): Use a dataset's label as it's identifier. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2024-04-23Create an endpoint for gnqa test templateAlexander_Kabui
2024-04-11Merge pull request #838 from genenetwork/feature/refactor-gnqa-ui...Feature/refactor gnqa UIAlexander Kabui
2024-04-05Refactor gnqa history endpoint.... * require gn-auth Alexander_Kabui
2024-04-05Update gnqa rating route.Alexander_Kabui
2024-04-02Use the dataset id to fetch the authorisation roles....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2024-03-27Require ouath2 for gnqa history search....* gn2/wqflask/views.py (gnqna_hist): Add "require_oauth2" decorator. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com> Munyoki Kilyungi
2024-03-27Require log-in to use the gn-qa search system....* gn2/wqflask/views.py: Import require_oauth2. (gnqna): Add "require_oauth2" decorator. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com> Munyoki Kilyungi
2024-03-26Only display the "edit" link when a user has edit permissions....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2024-03-26Import user_logged_in from the clients module....Importing "user_logged_in" in the checks module just to export adds a layer of indirection and makes the code hard to read. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2024-03-26Remove unused imports....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2024-03-26Remove unused declared variable....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2024-03-26Delete search dataset functionality in RDF....* gn2/wqflask/views.py (search_for_dataset): Delete. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2024-03-26Delete unused page....* gn2/wqflask/views.py (display_diffs_admin): Delete. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2024-03-22add gnqa evaluation UIAlexander_Kabui
2024-03-05disable login requirement for gnqa on cd... * reason gnqa and gn-auth are currently unstable Alexander_Kabui
2024-02-16pep8 formattingAlexander_Kabui
2024-02-16init check for user loginAlexander_Kabui
2024-01-25add view point for gnqa search historyAlexander_Kabui
2024-01-16add UI for reference rating gn-llm documentsAlexander_Kabui
2024-01-12Switch NCBI link from http to https in failing test and RDF query....* gn2/tests/wqflask/show_trait/test_show_trait.py (test_get_ncbi_summary_request): Replace "http://eutils.ncbi.nlm.nih.gov" with "https://eutils.ncbi.nlm.nih.gov" * gn2/wqflask/views.py (get_probeset): Ditto. Co-authored-by: Alexander Kabui <Alexanderkabua@gmail.com> Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2024-01-10Add dataset metadata to genotype page when a dataset is specified....* gn2/wqflask/templates/genotype.html: Add extra dataset metadata. * gn2/wqflask/views.py (get_genotype): Extend genotype URL to enable specifying the dataset name. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2024-01-09Update script's module path.Frederick Muriuki Muriithi
2024-01-08Include Entrez summary for a geneID on the ProbeSet page....Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2024-01-08Add dataset metadata to probeset page when a dataset is specified....* gn2/wqflask/templates/probeset.html: Add extra dataset metadata elements for groups, species, tissue name and dataset link. * gn2/wqflask/views.py (get_probeset): Extend probeset URL to enable specifying the dataset name. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2024-01-08revert to use GN3_LOCAL_URL for gn3 api endpointAlexander_Kabui
2024-01-08fix url errorAlexander_Kabui
2024-01-08fix url errorAlexander_Kabui
2024-01-08merge testingAlexander_Kabui
2024-01-08revert commit gn server urlAlexander_Kabui
2024-01-06Add probeset RDF page....* gn2/wqflask/templates/probeset.html: New probeset HTML file. * gn2/wqflask/views.py (get_probeset): New function. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi