aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-12-07Update how the title is constructed.Munyoki Kilyungi
* wqflask/wqflask/templates/metadata/dataset.html: In order of priority, display: title, label, altLabel. Otherwise, you can possibly have the GN Accession Id forming the title of this page. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-12-07Update datasets page with updated RDF json-ld result.Munyoki Kilyungi
* wqflask/wqflask/templates/metadata/dataset.html: Minor updates. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-12-05Send the GN3 API server URI as configured for GN2Frederick Muriuki Muriithi
2023-12-05Update URIs to the new GN-AUTH urisFrederick Muriuki Muriithi
The javascript was still using the GN3 URIs from when auth was done in GN3. This commit updates the code to the new URI paths.
2023-12-05Remove user-roles fetching statementFrederick Muriuki Muriithi
Remove the code fetching all the user roles, since they are not used.
2023-11-30Remove duplicate month field in Phenotypes page.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-11-30Fix dataset page links in Phenotypes UI page.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-11-30Handle display for unpublished dataMunyoki Kilyungi
Example: http://cd.genenetwork.org/phenotypes/BXD_17019 Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-11-30Add "Peak Location" in phenotypes display.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-11-30Refine display of publication details in phenotype template.Munyoki Kilyungi
* wqflask/wqflask/templates/phenotype.html: Use "metadata.references" to fetch publication details. Replace LRS value with LOD Score ("Peak -logP"). Rename "Additive" -> "Effect Size." Replace "Title" with "Publication." Use "ANSI/NISO Z39.29-2005(R2010)" format for displaying publications details. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-11-30Use correct field to fetch the additive value.Munyoki Kilyungi
* wqflask/wqflask/templates/phenotype.html: Use the correct field to fetch the additive value. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-11-30Remove text-underline for phenotype page-header.Munyoki Kilyungi
* wqflask/wqflask/templates/phenotype.html: Remove underline. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-11-30Update phenotype retrieval route, incorporate group parameter.Munyoki Kilyungi
* wqflask/wqflask/views.py (get_phenotype): Add "group" parameter. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-11-29Remove set operator when fetching correlation metadatazsloan
I'm not sure why this was introduced in the first place, but it appears to cause an issue where a semicolon is displayed in the description even when there's no probe target description (and removing it doesn't seem to cause any problems)
2023-11-27Change info file links + make them open in new tabszsloan
2023-11-27Rename metadata/genotype -> metadata/genotypes.Munyoki Kilyungi
* wqflask/wqflask/views.py (get_genotype): Rename genotype -> genotypes. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-11-27Update genotype UI page.Munyoki Kilyungi
* wqflask/wqflask/templates/genotype.html: Update page. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-11-27Update the phenotype page.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-11-27Rename "/phenotype" -> "phenotypes" endpoint.Munyoki Kilyungi
* wqflask/wqflask/views.py (get_phenotype): Rename "/phenotype" -> "phenotypes". Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-11-27Revamp UI page for publications.Munyoki Kilyungi
* wqflask/wqflask/templates/publication.html: Update UI. When a particular metadata item does not show up, show "N/A" instead. * wqflask/wqflask/views.py (get_publication): Rename "publication"->"publications". Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-11-27Remove javascript integrity check for HTMX.Munyoki Kilyungi
Firefox will always give the following error: None of the “sha384” hashes in the integrity attribute match the content of the subresource. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-11-27Point htmx to the correct endpoint for dataset search.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-11-27Use correct src for htmx.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-11-27Improve search-box styling.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-11-27Update the lead and place-holder copy for dataset search.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-11-27Improve the dataset's styling.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-11-27Refactor template to use new json-ld format.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-11-27Float the details panel only when metadata exists.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-11-27Refactor route and metadata retrieval process for dataset details.Munyoki Kilyungi
* wqflask/wqflask/views.py (get_dataset): Rename "/dataset..." -> "/datasets...". Remove url parsing for metadata keys since we use json-ld now. Remove pull-right check. Only pass the metadata to the template. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-11-27Add search bar if a there's a URL miss when displaying data.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-11-27Make dataset it's own html entity.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-11-27Get the last element from url in the key.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-11-27Rename metadata to dataset.Munyoki Kilyungi
* wqflask/wqflask/templates/metadata/dataset.html: Rename metadata to dataset. * wqflask/wqflask/views.py (get_dataset): Ditto. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-11-27Use correct fields when fetching a dataset's metadata.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-11-27Move dataset template to metadata directory.Munyoki Kilyungi
* wqflask/wqflask/templates/dataset.html: Move this ... * wqflask/wqflask/templates/metadata/dataset.html: here. Also, add htmx library. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-11-27Delete dead comment.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-11-25Fix bug caused by NaN p-values in GEMMA mappingzsloan
2023-11-17Log out query errorsFrederick Muriuki Muriithi
Log out failures in querying the database as errors to help with catching issues with and debugging of queries.
2023-11-13Fix bug that caused hitting Enter on regular search after hitting Enter for ↵zsloan
global search to wrongly submit global search instead
2023-11-13Secrets: Enable separate secrets settings fileFrederick Muriuki Muriithi
Enable a separate secrets settings file to be provided where necessary. The secrets settings file will hold security-critical configuration values that should not be exposed in the repository.
2023-11-11DB docsPjotr Prins
2023-11-09Set correlation table width to 90%zsloan
2023-11-09Make adjustments to correlation tablezsloan
- Disable scroller when fewer than 2000 rows. Scroller causes a problem where you can't reach certain rows when manually scroller when rows are too 'tall' (so when descriptions are long and the window is smaller) - Disable width for Abbreviation and increase width for Peak Position so it doesn't get pushed to two lines
2023-11-06Use correct prefix for auth server's url.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-11-06Revert "Disable SSL check when checking whether user is logged in."Munyoki Kilyungi
This reverts commit b178e8f8944141632032103fb5b06e3a0746d4f3.
2023-11-06Disable SSL check when checking whether user is logged in.Munyoki Kilyungi
* wqflask/wqflask/views.py (index_page): Set "verify=False" in no_token_get. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-11-06Get full trace of SSL error and reduce number of retries in MR.Munyoki Kilyungi
* test/requests/test-website.py (host_is_online): Reduce tries from 10 to 5. Also, print out the full error---useful for CD debugging. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-11-06Use latest self-hosted guix-bioinformatics channel.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-11-06Disable SSL check on Mechanical Rob.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-11-06Update the default auth url.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>