aboutsummaryrefslogtreecommitdiff
path: root/wqflask
AgeCommit message (Expand)Author
2020-11-04remove whitespace in line 119-120Alexanderlacuna
2020-11-04remove whitespaceAlexanderlacuna
2020-11-04remove whitespace and assertIsAlexanderlacuna
2020-11-03Merge pull request #479 from zsloan/bug/haplotype_analyst_error_fix...Bug/haplotype analyst error fixzsloan
2020-11-03Changed the syntax for the "sort" function in the docstring of GeneralObject ......* wqflask/base/GeneralObject.py - edited docstring to be correct for Python 3 zsloan
2020-11-03Fixed a sort used when doing the haplotype analysis to be compatible with Pyt......* wqflask/wqflask/marker_regression/display_mapping_results.py - The arguments for sort are different in Python 3, so it was changed to be compatible zsloan
2020-11-03Fix false-positive tests...* wqflask/tests/unit/wqflask/test_markdown_routes.py: (MockRequests404): Pass self in all properties. (MockRequests200): Ditto. (test_render_markdown): Rename to test_render_markdown_when_fetching_locally. (test_render_markdown_when_fetching_remotely): New test. BonfaceKilz
2020-11-03Merge pull request #478 from zsloan/loading_page_n_fix...Joined sample names in primary_samples and all_samples with commas be…zsloan
2020-11-03Joined sample names in primary_samples and all_samples with commas because th......* wqflask/wqflask/show_trait/show_trait.py primary_samples and all_samples passed as hidden form inputs now have names split by commas so they can be counted correctly when displaying the N on the mapping loading screen zsloan
2020-11-03Delete file...* wqflask/tests/integration/test_glossary.py: Delete it. Earlier renamed to test_markdown_routes. BonfaceKilz
2020-11-03Add basic tests for rendering_markdown...* wqflask/tests/unit/wqflask/test_markdown_routes.py: New tests. BonfaceKilz
2020-11-03Add basic structure for "/glossary" routes testBonfaceKilz
2020-11-03Move logic for fetching md files to it's own function...* wqflask/wqflask/markdown_routes.py (render_markdown): New function. (glossary): use render_markdown function. BonfaceKilz
2020-11-03Add simple md content in glossary.mdBonfaceKilz
2020-11-03Update glossary template with markdown contentBonfaceKilz
2020-11-03Rename glossary.py to markdown_routes.py...Evary page with markdown content will have routes added in markdown_routes.py * markdown_routes.py: New file. * wqflask/wqflask/glossary.py: Delete it. * wqflask/wqflask/__init__.py: Update import. BonfaceKilz
2020-11-03Merge branch 'testing' of https://github.com/genenetwork/genenetwork2 into te...Alexanderlacuna
2020-11-03remove unnecessary commentsAlexanderlacuna
2020-11-03add pep8 formattingAlexanderlacuna
2020-11-03add tests for the get_categorical_variables functionAlexanderlacuna
2020-11-03Remove encoding header for file...In python3 the default encoding is utf-8 so this is redundant. BonfaceKilz
2020-11-03Separate unittests from integration testsBonfaceKilz
2020-11-03Add test for "/glossary" routeBonfaceKilz
2020-11-03Add glossary template and use itBonfaceKilz
2020-11-03Add and register glossary blueprintBonfaceKilz
2020-11-03Apply PEP-8 to file...* wqflask/wqflask/__init__.py: Remove unused import and variables. Also add module docstring and pylint errors to ignore. (before_request): Use correct spacing. BonfaceKilz
2020-11-03switch from assertFalse to assertIsAlexanderlacuna
2020-11-03switch from assertTrue/False to assertIs to make the tests tighterAlexanderlacuna
2020-11-03use assertTrue and assertFalse in while testing booleanAlexanderlacuna
2020-11-02Merge pull request #476 from zsloan/correlation_errors_fix...Correlation errors fixzsloan
2020-11-02Created function for encoding the column value as bytes when fetching from th......* wqflask/utility/redis_tools.py - Created function load_json_from_redis that encodes the key (column_value) when fetching a value from the JSON pulled from Redis zsloan
2020-11-02Changed correlation page logic to skip over traits that share fewer than 6 sa......* wqflask/wqflask/correlation/show_corr_results.py - Moved the num_overlap check so that it never attempts to calculate the correlation if it's too low + checked if trait_object is None in the main loop (since it would be returned as None if the user doesn't have permissions zsloan
2020-11-02add better formattingAlexanderlacuna
2020-11-02add function docstringAlexanderlacuna
2020-11-02add tests for show trait moduleAlexanderlacuna
2020-10-31Removed a line adding the ceiling of the Max LRS to the Y axis, since it has ......* wqflask/wqflask/marker_regression/display_mapping_results.py - Removed a line adding the ceiling of the max LRS/LOD value to the Y axis zsloan
2020-10-31remove redundant classesAlexanderlacuna
2020-10-31use descriptive variable namesAlexanderlacuna
2020-10-31Use more descriptive variable and class namesAlexanderlacuna
2020-10-30add test for get_export_metadataAlexanderlacuna
2020-10-30Merge branch 'testing' of https://github.com/genenetwork/genenetwork2 into te...Alexanderlacuna
2020-10-29Fixed issue with single-chromosome mapping after the bootstrap fix and fixed ......* wqflask/wqflask/marker_regression/display_mapping_results.py - Cast self.qtlresults 'chr' as a string since the comparison between it and the chromosome names was faililng due to numeric chromosomes being int type + used a list comprehension that converts None to an empty string when creating a comma-joined string from the list of mapping output files zsloan
2020-10-29Merge branch 'testing' of github.com:genenetwork/genenetwork2 into reaper_boo...zsloan
2020-10-29add test for show_traitAlexanderlacuna
2020-10-29Merge branch 'testing' of https://github.com/genenetwork/genenetwork2 into te...Alexanderlacuna
2020-10-29Merge pull request #469 from BonfaceKilz/bug/fix-cookies-verification...Bug/Fix cookie verification bugBonfaceKilz
2020-10-29resolve merge conflictAlexanderlacuna
2020-10-29format fileAlexanderlacuna
2020-10-29remove print statement in for loopAlexanderlacuna
2020-10-29add test for show_trait/export_trait_dataAlexanderlacuna