aboutsummaryrefslogtreecommitdiff
path: root/scripts/maintenance/readProbeSetSE_v7.py
AgeCommit message (Expand)Author
2022-03-10Use context manager with database connection...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. Frederick Muriuki Muriithi
2020-10-29Replace map on strip with a list comprehension that calls strip()...* 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. BonfaceKilz
2020-08-27Replace "string.split" & "string.join" with python's inbuilt methodsBonfaceKilz
2020-08-19Make Python more idiomatic...Run `2to3-3.8 -f idioms -w .` See: <https://docs.python.org/2/library/2to3.html#2to3fixer-idioms> BonfaceKilz
2020-08-19Convert `raw_input` to `input`...Run `2to3-3.8 -f raw_input -w .` See: <https://docs.python.org/2/library/2to3.html#2to3fixer-raw_input> BonfaceKilz
2020-08-19Change `dict.has_key(key)` to `key in dict`...Run `2to3-3.8 -f has_key -w .` See: <https://docs.python.org/2/library/2to3.html#2to3fixer-has_key> BonfaceKilz
2020-08-19Wrap `map()` in a `list` call...Run `2to3-3.8 -f map -w .` See: <https://docs.python.org/2/library/2to3.html#2to3fixer-map> BonfaceKilz
2020-08-18Wrap print statements in parenthesesBonfaceKilz
2020-08-18Replace DOS style line endings with UNIX style ones...* scripts/maintenance/readProbeSetSE_v7.py: Run *dos2unix* against file BonfaceKilz
2020-08-18Apply pep8...* scripts/maintenance/readProbeSetSE_v7.py: Apply pep8 to file to replace tabs with spaces and use correct indentation. BonfaceKilz
2018-04-03@acenteno added data upload scripts into main repoPjotr Prins