aboutsummaryrefslogtreecommitdiff
path: root/wqflask
AgeCommit message (Collapse)Author
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-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
2021-03-07Right-aligned the Mean column for phenotype global searchzsloan
2021-03-07Limited Mean for phenotype global search to 3 decimal placeszsloan
2021-03-04Fixed issue that caused JS to break when trait description contains a ↵zsloan
newline character
2021-03-03Checked if pre_publication_description is NULL, because there was an error ↵zsloan
resulting from a trait missing both pre_publication_description and pubmed ID
2021-02-23Merge branch 'testing' of github.com:genenetwork/genenetwork2 into testingzsloan
2021-02-23This should fix the issue with Haplotype Analyst sample names/values not ↵zsloan
being displayed correctly
2021-02-19Fixed test_gen_menu to reflect updated queryzsloan
2021-02-19Fixed TestCheckResourceAvailability to make it work after realizing that ↵zsloan
Redis.smembers apparently returns values as bytes
2021-02-19Fixed test_run_mapping.py to make export_mapping_results test work correctlyzsloan
2021-02-19Patched utility.authentication_tools.g as TestUserSession because otherwise ↵zsloan
the str.encode failed on the mock.Mock() object, and this also seems consistent with the way it's done in a later method
2021-02-18Increased sample table width added for each case attribute. At some point ↵zsloan
this needs to be made 'smarter,' since this might look funny if all case attribute column are narrow
2021-02-18Committing changes that added some fields to mapping export - one of the ↵zsloan
tests I changed assumed these changes were already made, so including them should fix that
2021-02-18Convert user ID to stringzsloan
2021-02-18Remove the deocde since it was throwing an errorzsloan
2021-02-18Changed gsearch to be able to account for permissions either being a list or ↵zsloan
a string
2021-02-18Changed DEFAULT_PERMISSIONS AND SUPER_PERMISSIONS to not have permissions be ↵zsloan
lists (I think the proxy expects them to not be lists, but then returns them as lists; need to check about this)