aboutsummaryrefslogtreecommitdiff
path: root/wqflask
AgeCommit message (Collapse)Author
2021-06-07Define the table and then do the_table.draw() to fix issue where column ↵zsloan
headers sometimes aren't aligned with rows + change width of checkbox column
2021-06-07Define the table and then do the_table.draw() to fix issue where column ↵zsloan
headers sometimes aren't aligned with rows + change width of checkbox column
2021-06-07Merge pull request #584 from zsloan/feature/add_scroller_gsearchzsloan
Feature/add scroller gsearch
2021-06-07templates: edit_trait: Display diffs as a tableBonfaceKilz
2021-06-07wqflask: views: Pass diffs to template for further processingBonfaceKilz
2021-06-07wqflask: views: Re-order imports and remove dead commentsBonfaceKilz
2021-06-07wqflask: views: Insert data into metadata_audit tableBonfaceKilz
2021-06-07wqflask: views: Replace "simplejson" with "json"BonfaceKilz
2021-06-07wqflask: views: Remove null-check for formsBonfaceKilz
Right now, only changed data is submitted from JavaScript.
2021-06-07templates: edit_trait: Use correct name for text-area fieldBonfaceKilz
2021-06-07templates: edit_trait: Add hidden inputs that contain old valuesBonfaceKilz
2021-06-07Update class docstringjgart
Author: jgart <jgart@dismail.de> Date: Fri Jun 4 22:12:35 2021 +0000
2021-06-04Set widths for column in gene global search + set min-width for table as a wholezsloan
2021-06-03Change LRS scores of 0.000 to N/A since they're listed wrong in the DB + fix ↵zsloan
issue where locus_chr and locus_mb pointing to the wrong positions in the query results
2021-06-03Changed gsearch_pheno template to use Scroller and also set column widthszsloan
2021-06-03Implemented Scroller with gene global search; for the time being this ↵zsloan
disables the server-side processing, since that was assuming pagination and caused slow-downs when scrolling or sorting (likely because it's acting as if the full list of results are one page)
2021-06-03Made the code for setting some trait fields (like additive, mean, ↵zsloan
max_lrs_text) clearer and more consistent, and fixed issue where an error would be thrown if this_trait['locus_chr'] or this_trait['locus_mb'] was None (it's unnecessary to pass those values to the template to begin with, since they're just used to set this_trait['max_lrs_text']
2021-06-01Fixed issue that caused attribute alignments to be off by one positionzsloan
2021-06-01Made Genotype drop-down a little wider, since the genotype file names can be ↵zsloan
longer
2021-06-01Merge branch 'testing' of github.com:genenetwork/genenetwork2 into testingzsloan
2021-06-01Make the container div for the trait table have a minimum width scaling off ↵zsloan
of the trait table width, to avoid the border overlapping with the table
2021-06-01templates: edit_trait: Use correct textarea "name" for post_pub_descBonfaceKilz
2021-06-01templates: edit_trait: Add "changed" class to hidden input valuesBonfaceKilz
When a form element changes, it's marked as changed. Only input elements with "changed" get submitted. Since we need to submit the "hidden" input fields, we add "changed" to them anyways.
2021-06-01templates: edit_trait: Only submit form elements that have changedBonfaceKilz
We only submit form elements that have changed, and use that to update the relevant tables. See: https://stackoverflow.com/a/5221915
2021-05-28Added comment clarifying the situation with views.py importszsloan
2021-05-28Re-added collect import in views.py since it was removed before (I'm ↵zsloan
guessing because it appeared to not be used, but it actually is used because it includes the collection endpoints
2021-05-27Merge pull request #579 from zsloan/feature/rqtl_with_gn3zsloan
Use GN3 API for R/qtl
2021-05-27Fix the way Mock is initializedzsloan
2021-05-27Change test_rqtl_mapping.py to account for full results being returned from ↵zsloan
the GN3 request
2021-05-27Fixed way MockGroup was initializedzsloan
2021-05-27Forgot to import dataclasszsloan
2021-05-27Fixed syntax mistake when creating dataclass in test_rqtl_mapping.pyzsloan
2021-05-27Removed parts of test_rqtl_mapping.py referring to process_perm_results and ↵zsloan
process_rqtl_results since that functionality was moved to GN3
2021-05-27Updated test_run_mapping.py to account for attribute keys being checked as ↵zsloan
lowercase, though not sure if this will fully fix the test
2021-05-27Improved test_rqtl_mapping.py with Bonface's recommendation of uses dataclasseszsloan
2021-05-27Make all attribute names lowercase to deal with situations where sometimes ↵zsloan
they're lower-case and other times not
2021-05-27Add code writing perm_strata to phenotype input file in rqtl_mapping.py + ↵zsloan
fix issue in cofactors_to_dict where two variables were both called 'cofactors'
2021-05-26wqflask: views: Update comment when data is editedBonfaceKilz
For now the exact column that's edited isn't tracked.
2021-05-26wqflask: views: Import "fetchone" & "update" from "gn3.db"BonfaceKilz
2021-05-26Use @admin_login_required to only enable Rob to do edits to traitsBonfaceKilz
* wqflask/wqflask/decorators.py (admin_login_required): New decorator. * wqflask/wqflask/views.py (edit_trait): Use admin_login_required decorator.
2021-05-26wqflask: views: Add method that updates the traitBonfaceKilz
* wqflask/wqflask/views.py (update_trait): New function.
2021-05-26templates: edit_trait: Submit publish_xref dataBonfaceKilz
2021-05-26wqflask: views: Remove unused importsBonfaceKilz
2021-05-26wqflask: views: Make imports top-levelBonfaceKilz
2021-05-26templates: edit_trait: Make form functional(add ability to submit)BonfaceKilz
2021-05-26wqflask: views: Add edit_trait pageBonfaceKilz
Should add some some authentication logic to this later since it's not supposed to be accessible to everyone.
2021-05-26templates: edit_trait: Update edit btn to point to editing endpointBonfaceKilz
2021-05-26wqflask: views: Add extra endpoint to display individual trait editBonfaceKilz
* wqflask/wqflask/views.py (show_edit_trait_page): New function/ end-point.
2021-05-26templates: show_trait_details: Add an "[edit]" buttonBonfaceKilz
2021-05-26tests: test_gen_menu: Remove get_speciesBonfaceKilz