aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-11-04Add link markers to elements which are referenced from elsewhereBonfaceKilz
2020-11-04Update test_markdown_routesBonfaceKilz
* wqflask/tests/unit/wqflask/test_markdown_routes.py (test_render_markdown_when_fetching_locally): Fix failing test.
2020-11-04Add an edit link button to glossary pageBonfaceKilz
2020-11-04Wrap rendered content in div containerBonfaceKilz
2020-11-04Update glossary markdown fileBonfaceKilz
2020-11-04Merge pull request #475 from Alexanderlacuna/test-showtraitBonfaceKilz
Add more tests for show trait module
2020-11-04correct a typoAlexanderlacuna
2020-11-04remove extra whitespaceAlexanderlacuna
2020-11-04remove whitespace in line 119-120Alexanderlacuna
2020-11-04remove whitespaceAlexanderlacuna
2020-11-04remove whitespace and assertIsAlexanderlacuna
2020-11-04Use python3-genenetwork2 docker image on commit 0bf4ee6BonfaceKilz
2020-11-03Merge pull request #479 from zsloan/bug/haplotype_analyst_error_fixzsloan
Bug/haplotype analyst error fix
2020-11-03Changed the syntax for the "sort" function in the docstring of GeneralObject ↵zsloan
to be compatible with Python 3 syntax * wqflask/base/GeneralObject.py - edited docstring to be correct for Python 3
2020-11-03Fixed a sort used when doing the haplotype analysis to be compatible with ↵zsloan
Python 3 * wqflask/wqflask/marker_regression/display_mapping_results.py - The arguments for sort are different in Python 3, so it was changed to be compatible
2020-11-03Fix false-positive testsBonfaceKilz
* 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.
2020-11-03Merge pull request #478 from zsloan/loading_page_n_fixzsloan
Joined sample names in primary_samples and all_samples with commas be…
2020-11-03Joined sample names in primary_samples and all_samples with commas because ↵zsloan
this list was being split to get the N of samples; not sure why this was working before * 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
2020-11-03Delete fileBonfaceKilz
* wqflask/tests/integration/test_glossary.py: Delete it. Earlier renamed to test_markdown_routes.
2020-11-03Add basic tests for rendering_markdownBonfaceKilz
* wqflask/tests/unit/wqflask/test_markdown_routes.py: New tests.
2020-11-03Add basic structure for "/glossary" routes testBonfaceKilz
2020-11-03Update issue and PR templatesBonfaceKilz
* .github/ISSUE_TEMPLATE/bug_report.md: Provide explanations in commented out blocks. * .github/ISSUE_TEMPLATE/feature_request.md: Ditto. * .github/PULL_REQUEST_TEMPLATE.md: Ditto. * .github/ISSUE_TEMPLATE/user_story.md: Ditto.
2020-11-03Move logic for fetching md files to it's own functionBonfaceKilz
* wqflask/wqflask/markdown_routes.py (render_markdown): New function. (glossary): use render_markdown function.
2020-11-03Use python3-genenetwork2 on commit bdce85d in containerBonfaceKilz
* .github/workflows/main.yml: Update gn2 container.
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.pyBonfaceKilz
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.
2020-11-03Merge branch 'testing' of https://github.com/genenetwork/genenetwork2 into ↵Alexanderlacuna
test-showtrait
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 fileBonfaceKilz
In python3 the default encoding is utf-8 so this is redundant.
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 fileBonfaceKilz
* wqflask/wqflask/__init__.py: Remove unused import and variables. Also add module docstring and pylint errors to ignore. (before_request): Use correct spacing.
2020-11-03switch from assertFalse to assertIsAlexanderlacuna
2020-11-03Remove stale fileBonfaceKilz
* jquery.qtip.css: Delete it.
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_fixzsloan
Correlation errors fix
2020-11-02Created function for encoding the column value as bytes when fetching from ↵zsloan
the JSON-formatted string pulled from Redis (since this was needed after the Python 3 switchover) * 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
2020-11-02Changed correlation page logic to skip over traits that share fewer than 6 ↵zsloan
samples + traits that user doesn't have permission to access * 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
2020-11-02add better formattingAlexanderlacuna
2020-11-02add function docstringAlexanderlacuna
2020-11-02add tests for show trait moduleAlexanderlacuna
2020-11-01Merge pull request #472 from Alexanderlacuna/test-branchBonfaceKilz
Adding more Test for show_trait module
2020-10-31Merge branch 'testing' of https://github.com/genenetwork/genenetwork2 into ↵Alexanderlacuna
test-branch
2020-10-31Removed a line adding the ceiling of the Max LRS to the Y axis, since it has ↵zsloan
the potential to cause an axis tick to appear above the figure * wqflask/wqflask/marker_regression/display_mapping_results.py - Removed a line adding the ceiling of the max LRS/LOD value to the Y axis