aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-26doc: docker-container: Rename python3-genenetwork2 to genenetwork2BonfaceKilz
See: https://is.gd/gHJvhe
2021-05-26workflows: main: Use "bonfacekilz/genenetwork2:latest" docker imageBonfaceKilz
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
2021-05-26api: gen_menu: Replace get_species with get_all_species from gn3BonfaceKilz
* wqflask/wqflask/api/gen_menu.py (gen_dropdown_json): Use new `get_all_species` function. (get_species): Remove it.
2021-05-26db: webqtlDatabaseFunction: Remove commentBonfaceKilz
2021-05-26db: webqtlDatabaseFunction: Remove logger infoBonfaceKilz
2021-05-26wqflask: database: Replace one-line function with it's bodyBonfaceKilz
* wqflask/wqflask/database.py (init_db): Remove it.
2021-05-26templates: edit_trait: Add form for editing a dataset (WIP)BonfaceKilz
2021-05-25Fixed/shortened get_categorical_variables function and correctly pass them ↵zsloan
to show_trait template
2021-05-25Removed code that processes output files, since this functionality is moved ↵zsloan
to GN3
2021-05-22Fixed the mocked return_value for requests.post to fix broken testzsloan
2021-05-22Fixed a couple broken testszsloan
2021-05-22Rewrote test_rqtl_mapping.py, though haven't done tests for all functions yetzsloan
2021-05-21Removed a couple unused parameters for run_rqtlzsloan
2021-05-21run_rqtl now reads in permutation outputzsloan
2021-05-21locustfile: Add new load test for a simple test-caseBonfaceKilz
Load test fetching a single trait using Locust.