Age | Commit message (Collapse) | Author |
|
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
|
|
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
|
|
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
|
|
* 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
|
|
Add page load metrics to footer
|
|
|
|
* 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
|
|
Mapping y axis fix
|
|
permutations aren't used
|
|
figure, but it would probably be ideal to scale things such that the top tick is at the top of the figure
* wqflask/wqflask/marker_regression/display_mapping_results.py - Set LRS_LOD_Max (the top tick value) as the maximum value between the significant value (if permutations are used) and the max LRS/LOD value; previously it would set it as the significant value * 1.1 if the significant value exists and is higher than the max LRS/LOD value.
|
|
|
|
merging (there are a lot of conflicts between this and the changes that integrated Scroller)
|
|
|
|
show_trait.css, replaced _ with - in class names, and changed the checkbox table cell styling to better center it
* wqflask/wqflask/static/new/css/show_trait.css - Moved show_trait_edit_data.html styling to this file and changes padding for the checkbox table cell to better center it; for some reason text-align: center wasn't working and it specifically needed left-padding
* wqflask/wqflask/static/new/javascript/show_trait.js - Replaced underscores with - in class names
* wqflask/wqflask/static/new/javascript/show_trait_mapping_tools.js - Replaced underscores with - in class names
|
|
unnecessary with the scroller changes that move the table initialization to a separate file)
* wqflask/wqflask/templates/show_trait.html - Replaced underscores with - in class names
|
|
other divs that only have the styling of being inline
|
|
* wqflask/wqflask/templates/show_trait_edit_data.html - replaced underscores with -
|
|
|
|
* wqflask/wqflask/user_login.py (encode_password):
- Remove unused local variable "salt".
- Pass "hashfunc" as a string.
- Apply Pep-8.
|
|
* wqflask/tests/wqflask/test_user_login.py: New tests.
|
|
* wqflask/wqflask/pbkdf2.py: Remove unnecessary pbkdf2 usage docs---
it already exists in python3 stdlib--- and "__main__" section which
runs the test.
(imports): Delete unused imports. Add safe_str_cmp.
(pbkdf2_hex): Use hashlib.pbkdf2_hmac.
(safe_str_cmp): Replace with werkzeug.security.safe_str_cmp
(test): Delete it. Tests moved to test_pbkdf2.py.
|
|
* wqflask/tests/wqflask/test_pbkdf2.py: New tests.
|
|
|
|
Added scroller to trait page and changed sample tables to use it
|