aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-12-15Make correlation and mapping CSS for trait page the samezsloan
2023-12-15Set min-width for show_trait page container div to prevent buttons from ↵zsloan
looking weird with super narrow screens
2023-12-15Update to more correct Xapian Search Queries linkzsloan
2023-12-13Update Global Search help linkzsloan
2023-12-07Move asterisk in mapping options to prevent overlapping with the Copy and ↵zsloan
Share link
2023-12-07Fix bug when viewing individual chromosomes for non-mouse/rat specieszsloan
2023-12-07Make the font-size for block-quotes smaller compared to the default.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-12-07Fix typo.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2023-12-07Add link to GN1 for quick comparison.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
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