Age | Commit message (Collapse) | Author |
|
|
|
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.
|
|
|
|
|
|
* scripts/maintenance/readProbeSetMean_v7.py: Run python-autopep8 on this file.
|
|
* 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
|
|
* test/requests/link_checker.py (check_packaged_file): Add it.
|
|
BonfaceKilz/refactor/extract-htmlgen-methods-to-wrapper-class
Refactor/extract htmlgen methods to wrapper class
|
|
|
|
BonfaceKilz/Build/use-naturaljs-datatables-extensions
Build/use naturaljs datatables extensions
|
|
* test/requests/link_checker.py (check_packaged_file): Add it.
|
|
|
|
* 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
|
|
|
|
BonfaceKilz/build/use-datatable-extensions-from-guix
Build/use datatable extensions from guix
|
|
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>
|
|
Run:
```
find . -type f -print0 | xargs -0 sed -i \
"s|lib/python2.7/site-packages|lib/python3.8/site-packages|g"
```
|
|
* 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
|
|
* test/requests/link_checker.py (check_packaged_js_files): Add it.
* test/requests/test-website.py: Use above method.
|
|
|
|
|
|
|
|
|
|
|