Age | Commit message (Collapse) | Author |
|
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
|
|
* 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.
|
|
Joined sample names in primary_samples and all_samples with commas be…
|
|
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
|
|
* 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.
|
|
|
|
|
|
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.
|
|
test-showtrait
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
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
|
|
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.
|