Age | Commit message (Collapse) | Author |
|
See: <https://docs.python.org/2/library/2to3.html#2to3fixer-import>
|
|
* wqflask/wqflask/correlation_matrix/show_corr_matrix.py: Import 'reduce'
|
|
See: <https://stackoverflow.com/questions/31848293/python3-and-hmac-how-to-handle-string-not-being-binary>
|
|
|
|
|
|
|
|
Mysqldb's escape returns a binary string. Use utils.db_tools which adds an extra
step of converting the binary string to a string.
|
|
* wqflask/base/data_set.py: Delete "create_in_clause", and "mescape" which are
defined in "utility.db_tools"
|
|
* wqflask/utility/db_tools.py: escape_string returns a binary string which
introduces a bug when composing sql query string. The escaped strings have to be
converted to plain text.
|
|
|
|
|
|
* wqflask/wqflask/views.py(search_page): "debugf" raises an error since the
first arg is expected to be an int
|
|
See: <https://docs.python.org/2/library/2to3.html#2to3fixer-future>
|
|
* wqflask/base/GeneralObject.py: "__cmp__" is no longer used in python3. See:
<https://stackoverflow.com/questions/8276983/why-cant-i-use-the-method-cmp-in-python-3-as-for-python-2>
|
|
See: <https://docs.python.org/2/library/2to3.html#2to3fixer-unicode>
|
|
See: <https://docs.python.org/2/library/2to3.html#2to3fixer-basestring>
|
|
* wqflask/tests/wqflask/marker_regression/test_display_mapping_results.py: Fix
tests.
|
|
* wqflask/wqflask/marker_regression/display_mapping_results.py: Use
python-htmlgen
|
|
* wqflask/utility/Plot.py: import corestats from the utility module.
|
|
|
|
|
|
BonfaceKilz/Build/add-scientific-js-datatables-plugin
Build/add scientific js datatables plugin
|
|
BonfaceKilz/refactor/extract-htmlgen-methods-to-wrapper-class
Refactor/extract htmlgen methods to wrapper class
|
|
|
|
|
|
* wqflask/wqflask/marker_regression/display_mapping_results.py
(HtmlGenWrapper)[create_image_tag]: Remove "src" and "alt" as function
parameters.
|
|
* wqflask/wqflask/marker_regression/display_mapping_results.py
(DisplayMappingResults): Replace direct calls to HtmlGen with methods from
the constructed wrapper class "HtmlGenWrapper".
|
|
* wqflask/wqflask/marker_regression/display_mapping_results.py: Add new class
|
|
* wqflask/tests/wqflask/marker_regression/test_display_mapping_results.py: Add
new tests
|
|
* wqflask/wqflask/marker_regression/display_mapping_results.py: Remove unused
imports and add fix some pylint errors
|
|
* wqflask/utility/Plot.py: Remove unused imports like "numarray". "numarray" is
does not have py3 support so it's important to remove references to it.
|
|
* wqflask/tests/wqflask/marker_regression/test_display_mapping_results.py:
Rename test_display_marking_results.py to test_display_mapping_results.py
|
|
* wqflask/tests/wqflask/api/test_gen_menu.py: Update assertion. Result data
introduced in 092212df
Signed-off-by: BonfaceKilz <bonfacemunyoki@gmail.com>
|
|
* wqflask/wqflask/marker_regression/display_mapping_results.py - defined
im_drawer in drawHaplotypeBand to fix errror and removed an unused
import
|
|
user apparently doesn't have access to, so I replaced it with a link to
the dynamically set TEMPDIR
* wqflask/utility/pillow_utils.py - Replaced "/tmp/" in image location
with TEMPDIR
|
|
* wqflask/utility/webqtlUtil.py (genRandStr): Replace "string.letters" with
"string.ascii_letters".
|
|
|
|
often looks weird if it gets below a certain width
* wqflask/wqflask/templates/search_result_page.html - Set min-width of
table container div to 1500px since that seems to be a reasonable width
that prevents the description column from getting too narrow
|
|
drop-down on the home page
* wqflask/wqflask/api_gen_menu.py - Changed where Molecular Trait
Datasets was hardcoded to Molecular Traits
|
|
|
|
Run:
```
2to3-3.8 -f imports -w . && \
2to3-3.8 -f imports2 -w .
```
See: <https://docs.python.org/2/library/2to3.html#2to3fixer-imports> and
<https://docs.python.org/2/library/2to3.html#2to3fixer-imports2>
|
|
* wqflask/base/data_set.py: Remove usage of "reaper" to load datasets
|
|
* wqflask/base/trait.py: Remove unused imports
* wqflask/db/call.py (Bench): Add urllib2 fallback for python2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|