Age | Commit message (Collapse) | Author |
|
keep naming consistent) I forgot to change the references in show_trait_mapping_tools.js (which broke the functionality of clicking a tab doing mapping)
|
|
natural-minus-na so it deals with the "--" values
* wqflask/wqflask/templates/correlation_page.html - Replaced numeric-html sorting with natural-minus-na for the lit/tissue r columns
|
|
Add more tests for show trait module
|
|
|
|
|
|
|
|
|
|
|
|
Bug/haplotype analyst error fix
|
|
to be compatible with Python 3 syntax
* wqflask/base/GeneralObject.py - edited docstring to be correct for Python 3
|
|
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
|
|
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
|
|
test-showtrait
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
* 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
|