Age | Commit message (Collapse) | Author |
|
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.
|
|
* 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
|
|
* wqflask/wqflask/gsearch.py - Cast ProbeSet description as binary
|
|
Fix issue where attribute values were displayed in the wrong columns
|
|
individual sample, because it was previously causing problems when only some samples had an N
* wqflask/base/webqtlCaseData.py - Removed code getting first_attr_start_pos
* wqflask/wqflask/show_trait/SampleList.py - Added code getting first_attr_start_pos and assigning it to all samples + removing one unnecessary sort
* wqflask/wqflask/static/new/javascript/initialize_show_trait_tables.js - Fixed issue that was causing the N column to not be displayed
|
|
* wqflask/wqflask/gsearch.py (GSearch): There's an exception thrown
when the decode method is called on that description string. If the
casting is absent, and the decode statements are removed, the some
characters get broken.
|
|
add test for trait_data
|
|
|
|
|
|
|
|
|
|
Build/python3 migration
|
|
|
|
* wqflask/wqflask/__init__.py (before_request): New function. Add
method for calculating total request_time to global context.
* wqflask/wqflask/templates/base.html:
- Display total server load time.
- Display total page rendering time, and add js functionality to
calculate it.
|
|
view; still need to fix for single chromosome or Mb range view
* wqflask/wqflask/marker_regression/display_mapping_results.py - Fixed bootstrap results by iterating through qtlresults instead of self.genotype (the latter didn't have intervals added, resulting in the bootstrap result positions being wrong)
|
|
Fixed trait export for situations where there's no authors/title/journal
|
|
|
|
Move styling to css
|
|
permutations aren't used
|