Age | Commit message (Collapse) | Author |
|
Use the `with` context manager with database connections and cursors
to ensure that they are closed once they are no longer needed.
Where it was not feasible to use the `with` context manager without a
huge refactor/rewrite, the cursors and connections are closed manually.
|
|
|
|
* 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.
|
|
|
|
* scripts/maintenance/readProbeSetMean_v7.py: Run python-autopep8 on this file.
|
|
See: <https://docs.python.org/2/library/2to3.html#2to3fixer-urllib>
|
|
Run `2to3-3.8 -f idioms -w .`
See: <https://docs.python.org/2/library/2to3.html#2to3fixer-idioms>
|
|
Run `2to3-3.8 -f raw_input -w .`
See: <https://docs.python.org/2/library/2to3.html#2to3fixer-raw_input>
|
|
Run `2to3-3.8 -f next -w .`
See: <https://docs.python.org/2/library/2to3.html#2to3fixer-next>
|
|
Run `2to3-3.8 -f has_key -w .`
See: <https://docs.python.org/2/library/2to3.html#2to3fixer-has_key>
|
|
Run `2to3-3.8 -f dict -w .`
See: <https://docs.python.org/2/library/2to3.html#2to3fixer-dict> and
<https://stackoverflow.com/questions/17695456/why-does-python-3-need-dict-items-to-be-wrapped-with-list>
|
|
Run `2to3-3.8 -f map -w .`
See: <https://docs.python.org/2/library/2to3.html#2to3fixer-map>
|
|
* scripts/maintenance/readProbeSetMean_v7.py: Use "input". See
https://docs.python.org/3/whatsnew/3.0.html#builtins
|
|
|
|
* scripts/maintenance/readProbeSetSE_v7.py: Run *dos2unix* against file
|
|
* scripts/maintenance/readProbeSetSE_v7.py: Apply pep8 to file to replace tabs
with spaces and use correct indentation.
|
|
|