aboutsummaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Expand)Author
2022-03-11Add updated version of script for adding new expression sample datazsloan
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
2021-12-17Some updates to the DOL genotypes conversion scriptzsloan
2021-11-05Add created_timestamp when creating a new groupBonfaceKilz
2021-11-05Add created_timestamp when creating a new groupBonfaceKilz
2021-11-05Use members uuidBonfaceKilz
2021-11-05Add script for manually adding "editors" to each resourceBonfaceKilz
2021-10-25scripts: resource: Add value for "admin" when updating resourcesBonfaceKilz
2021-10-25scripts: resource.py: Add shebangBonfaceKilz
2021-10-25scripts: group.py: Add extra optional arg to specify uidBonfaceKilz
2021-10-25scripts: group.py: Add shebangBonfaceKilz
2021-10-22Include the admin privilege for the 'editors' group, since it wasn't being se...zsloan
2021-10-08Fixed the sort to account for both chr and pos in a kind of hack-y way + adde...zsloan
2021-10-08Adding convert_dol_genotypes.py to scripts; everything is hard-coded in it si...zsloan
2021-10-06scripts: resource: Add option for specifying a groups uuidBonfaceKilz
2021-10-06scripts: group: Replace args.group_name with data["field"]BonfaceKilz
2021-10-06scripts: group: Update docstrings for "create_group_data"BonfaceKilz
2021-10-06scripts: group: Break up long lineBonfaceKilz
2021-10-06scripts: group: Fix indentationBonfaceKilz
2021-10-06scripts: group: Remove empty `""` value for data.get...data.get("field") will default to None if there is no value; and None is falsy. BonfaceKilz
2021-10-06scripts: group: Remove unused importBonfaceKilz
2021-10-06scripts: group: Use a unique key to identify a groupBonfaceKilz
2021-10-04Moved REDIS_CONN back into if __name__ == '__main__' since it doesn't need to...zsloan
2021-10-04Changed the group.py script to replace user e-mails with IDs and to include i...zsloan
2021-10-04scripts: group.py: Modify exit message when displaying updated dataBonfaceKilz
2021-10-04scripts: group.py: Remove "glom" dependencyBonfaceKilz
2021-10-04Decode redis response by defaultBonfaceKilz
2021-10-04Modify resource editing script to enable data backups & restorationBonfaceKilz
2021-10-04Add script that adds "editors" group to all resources in RedisBonfaceKilz
2021-10-04Add script for creating/ updating groups during authorisationBonfaceKilz
2021-08-16Add "Description" column to CaseAttribute...See: eecaad2d BonfaceKilz
2021-05-13Fix load_phenotypes to run with GN2 latestArthur Centeno
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-26Replace tabs with spaces...* scripts/maintenance/readProbeSetMean_v7.py: Run python-autopep8 on this file. BonfaceKilz
2020-08-19Remove extra whitespace(or add it) from comma separated items...See: <https://docs.python.org/2/library/2to3.html#2to3fixer-urllib> BonfaceKilz
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-19Convert the use of iterator’s next() methods to the next() function...Run `2to3-3.8 -f next -w .` See: <https://docs.python.org/2/library/2to3.html#2to3fixer-next> 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-19Fix dictionary iteration methods...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> 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-18Replace "raw_input" with "input"...* scripts/maintenance/readProbeSetMean_v7.py: Use "input". See https://docs.python.org/3/whatsnew/3.0.html#builtins 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
2020-05-05Add missing columns to db downloaded from AWSBonfaceKilz
2020-04-28Added a script for a default runnerPjotr Prins
2018-04-03@acenteno added data upload scripts into main repoPjotr Prins