Age | Commit message (Collapse) | Author |
|
|
|
* 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.
|
|
* wqflask/tests/integration/test_glossary.py: Delete it. Earlier
renamed to test_markdown_routes.
|
|
* wqflask/tests/unit/wqflask/test_markdown_routes.py: New tests.
|
|
|
|
* wqflask/wqflask/markdown_routes.py
(render_markdown): New function.
(glossary): use render_markdown function.
|
|
* .github/workflows/main.yml: Update gn2 container.
|
|
|
|
|
|
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.
|
|
In python3 the default encoding is utf-8 so this is redundant.
|
|
|
|
|
|
|
|
|
|
* wqflask/wqflask/__init__.py: Remove unused import and
variables. Also add module docstring and pylint errors to ignore.
(before_request): Use correct spacing.
|
|
* jquery.qtip.css: Delete it.
|
|
Correlation errors fix
|
|
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
|
|
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
|
|
Adding more Test for show_trait module
|
|
test-branch
|
|
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
|
|
|
|
|
|
|
|
Mapping Y Axis Fix
|
|
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
|
|
|
|
test-branch
|
|
Reaper bootstrap fix
|
|
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
|
|
reaper_bootstrap_fix
|
|
|
|
test-branch
|
|
Bug/Fix cookie verification bug
|
|
|
|
|
|
|
|
|
|
Bug/Replace map on strip with a list comprehension that calls strip()
|
|
Fixed error when zooming into a chromosome when mapping
|
|
Python3 switchover, so I converted it to a string
* wqflask/wqflask/marker_regression/display_mapping_results.py - cast theGO["snpCount"] as a string
|
|
* 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.
|
|
* 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.
|
|
* wqflask/tests/utility/test_hmac.py (test_hmac_creation_with_cookie):
New test. For this test, use a secret that behaves differently when
encoded to either utf-8 or latin-1.
|
|
|
|
Fixed trait page export issue caused by Scroller
|
|
non-Phenotype traits and column headers
* wqflask/wqflask/show_trait/export_trait_data.py - Added metadata for non-Phenotype traits and column headers (which didn't previously exist)
* wqflask/wqflask/static/new/javascript/show_trait.js - Changed export_sample_table_data to use DataTables API instead of just selecting from the DOM with JQuery
|
|
Remaining gsearch encoding fix for ProbeSet description
|