aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-04-29base: data_set: Apply pep-8BonfaceKilz
2021-04-29base: data_set: Remove unused methodBonfaceKilz
* wqflask/base/data_set.py (riset): Delete class method.
2021-04-29base: data_set: Rewrite data_set using @dataclassBonfaceKilz
@dataclasses should be used to hold only data. Since dataset only encapsulates data, re-writing it using a dataclass makes it more readable and easier to follow.
2021-04-29tests: test_data_set: Update testBonfaceKilz
2021-04-29tests: unit: test_data_set: Remove unused mockBonfaceKilz
2021-04-29wqflask: show_trait: Autopep-8 bufferBonfaceKilz
2021-04-29wqflask: show_trait: Remove unused imports.BonfaceKilz
* wqflask/wqflask/show_trait/show_trait.py: Delete unused imports.
2021-04-29wqflask: Add new js file for processing menu entriesBonfaceKilz
* wqflask/wqflask/static/new/javascript/dataset_select_menu_edit_trait.js: New file. Copy of dataset_select_menu_orig.js that will later modified... * wqflask/wqflask/templates/edit_trait.html: Use :point_up:.
2021-04-29templates: edit_trait.html: Trim form to only contain selection menuBonfaceKilz
2021-04-29templates: edit_trait.html: Add extra fields for the formBonfaceKilz
Add form elements for selecting group, type, and dataset. This mimics the home page.
2021-04-29templates: edit_trait.html: Add comment headersBonfaceKilz
The comment headers mark different sections.
2021-04-29wqflask: views: Add new function for selecting a datasetBonfaceKilz
* wqflask/wqflask/views.py(edit_trait_page): New function.
2021-04-29templates: edit_trait.html: New fileBonfaceKilz
Copy of submit_trait.html. This is a copy; that'll form the basis of the new edit page.
2021-04-29wqflask: views: Replace dict de-structuring with kw argumentsBonfaceKilz
* wqflask/wqflask/views.py (submit_trait_form): Use kw arguments when passing variables to the template. This is more readable.
2021-04-28wqflask: views: Delete stale commentsBonfaceKilz
2021-04-28wqflask: views: Apply pep-8BonfaceKilz
2021-04-28Use right block level commentsBonfaceKilz
2021-04-28Remove stale commentsBonfaceKilz
2021-04-28Remove local variables that are unusedBonfaceKilz
2021-04-28wqflask: views: Remove news importBonfaceKilz
This name clashes with "def news" which is defined later.
2021-04-28wqflask: views.py: Clean up imports sectionBonfaceKilz
Remove unused imports and break up long imports into shorter lines.
2021-04-27templates: submit_trait.html: Add field for inputting trait nameBonfaceKilz
2021-04-23Remove stale commentsBonfaceKilz
2021-04-23Apply PEP-8BonfaceKilz
2021-04-23Rewrite For Loop in a more Pythonic wayBonfaceKilz
2021-04-23Rename index_page_orig to index_pageBonfaceKilz
2021-04-23Add full link to genetic data collected as part of WebQTL projectBonfaceKilz
2021-04-23Move looped sql query into one statement in "get_species_groups"BonfaceKilz
It's in-efficient to have a sql query executed in a loop. As data grows, the query becomes slower. It's better to let sql handle such queries.
2021-04-23Remove stale commentsBonfaceKilz
2021-04-14Merge branch 'testing' of github.com:genenetwork/genenetwork2 into testingzsloan
2021-04-14Added JS that automatically selects the default collection if it's setzsloan
2021-04-14Added option to set default collection to collections/view.htmlzsloan
2021-04-13SQL notes - table layoutPjotr Prins
2021-04-13SQL notes - table layoutPjotr Prins
2021-04-13SQL notesPjotr Prins
2021-04-13SQL notesPjotr Prins
2021-04-09Merge branch 'testing' of github.com:genenetwork/genenetwork2 into acentenoArthur Centeno
2021-04-09link to webinarsArthur Centeno
2021-04-09Changed connditional in show_trait.js to check categorical_attr_exists ↵zsloan
instead of just checking if there are case attributes
2021-04-09Replaced the conditional for whether to show 'Block samples by group' to ↵zsloan
instead check categorical_attr_exists
2021-04-09Store categorical_attr_exists as a string instead of boolean since ↵zsloan
apparently the boolean doesn't get passed to the template properly
2021-04-09Added varaiable 'categorical_attr_exists' tracking whether there are any ↵zsloan
case attributes with fewer than 10 distinct values, since it currently throws a JS error if case attributes exist but none have fewer than 10 distinct values (specifically when we have RRID as a case attribute)
2021-03-30Shifted some code out of the try/except that shouldn't have been inside itzsloan
2021-03-30Shifted the 'try' in a try/except up some to account for a possible error ↵zsloan
with calculating PCA that I don't know the cause of yet
2021-03-29Changed minimum num_overlap to 2, since there apparently need to be that ↵zsloan
many shared samples torun scipy.stats.pearsonr/spearmanr
2021-03-29Check if a trait in a collection is a properly structured string to avoid an ↵zsloan
error caused by an empty string be stored in a collection's trait list
2021-03-26Split rat RRID by _ in order to pull out just the ID number, since the ↵zsloan
number is needed for the links
2021-03-26Added try/except to deal with the possibility of user_id being stored in ↵zsloan
Redis as both string and bytes
2021-03-19Added other BXD individual groups to the list of BXD groups used when ↵zsloan
drawing the Gene Band
2021-03-17Added the RRID urls for mouse and rat to webqtlConfigzsloan