aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2021-03-17Fixed the logic for creating the RRID links to account for the fact that the ↵zsloan
rat IDs don't have any prefix with a colon
2021-03-17Added a check for if there's a second value for case attributes, for ↵zsloan
situations where a case attribute also has a link
2021-03-17Added URL as second value for RRID case attributes, so it can be displayed ↵zsloan
in the trait page sample table
2021-03-16Fixed test_check_resource_availability_of_super_user to account for user_id ↵zsloan
being returned as bytes instead of a str
2021-03-16Added try/except to convert owner_id to bytes if necessaryzsloan
2021-03-16Fixed encoding in load_json_from_redis to account for the first that column ↵zsloan
values are sometimes stored as bytes and sometimes as strings
2021-03-16Fixed encoding to make get_user_groups work properly, since the user IDs for ↵zsloan
groups in Redis are stored as strings
2021-03-16Removed unnecessary encoding of user_id from authentication_tools.pyzsloan
2021-03-16Removed unnecessary decoding when getting user_id from UserSessionzsloan
2021-03-12Fixed imports in send_forgot_password_email since they apparently needed to ↵zsloan
be changed for Python 3.8