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-04Use python3-genenetwork2 docker image on commit 0bf4ee6BonfaceKilz
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-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-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-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-03Remove stale fileBonfaceKilz
* jquery.qtip.css: Delete it.
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-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
2020-10-31remove redundant classesAlexanderlacuna
2020-10-31use descriptive variable namesAlexanderlacuna
2020-10-31Use more descriptive variable and class namesAlexanderlacuna
2020-10-30Merge pull request #474 from zsloan/mapping_y_axis_fixzsloan
Mapping Y Axis Fix
2020-10-30Removed 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
2020-10-30add test for get_export_metadataAlexanderlacuna
2020-10-30Merge branch 'testing' of https://github.com/genenetwork/genenetwork2 into ↵Alexanderlacuna
test-branch
2020-10-29Merge pull request #473 from zsloan/reaper_bootstrap_fixzsloan
Reaper bootstrap fix
2020-10-29Fixed issue with single-chromosome mapping after the bootstrap fix and fixed ↵zsloan
error that occurred if either bootstrap or permutations were set to 0 * 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
2020-10-29Merge branch 'testing' of github.com:genenetwork/genenetwork2 into ↵zsloan
reaper_bootstrap_fix
2020-10-29add test for show_traitAlexanderlacuna
2020-10-29Merge branch 'testing' of https://github.com/genenetwork/genenetwork2 into ↵Alexanderlacuna
test-branch
2020-10-29Merge pull request #469 from BonfaceKilz/bug/fix-cookies-verificationBonfaceKilz
Bug/Fix cookie verification bug
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
2020-10-29Merge pull request #471 from BonfaceKilz/bug/replace-map-on-strip-methodBonfaceKilz
Bug/Replace map on strip with a list comprehension that calls strip()
2020-10-28Merge pull request #470 from zsloan/mapping_chr_view_fixzsloan
Fixed error when zooming into a chromosome when mapping
2020-10-28A non-string being used as a paramter in HT.Link caused an error after the ↵zsloan
Python3 switchover, so I converted it to a string * wqflask/wqflask/marker_regression/display_mapping_results.py - cast theGO["snpCount"] as a string
2020-10-29Replace map on strip with a list comprehension that calls strip()BonfaceKilz
* scripts/maintenance/readProbeSetSE_v7.py: In Python3 you can't map string.strip on a list of strings. Instead use a list comprehension and apply strip() on each element of the list. * wqflask/wqflask/marker_regression/plink_mapping.py: Ditto. * wqflask/wqflask/snp_browser/snp_browser.py: Ditto.
2020-10-28Use latin-1 encoding when converting hmac secret to bytesBonfaceKilz
* wqflask/utility/hmac.py (hmac_creation): Use latin-1 when serializing the hmac secret. This ensures that the behaviour of *verify_cookie* remains the same as in the python2 tip.