aboutsummaryrefslogtreecommitdiff
path: root/wqflask/base
AgeCommit message (Collapse)Author
2021-06-17pep8 formattingAlexander Kabui
2021-06-17add query for fetching probeset dataAlexander Kabui
2021-06-16Changed the function jsonable in trait.py to return a couple extra fields + ↵zsloan
take dataset as an optional argument (to avoid having to pointlessly create it)
2021-06-16Added function as_dict to data_set.py for situations where we don't want to ↵zsloan
pass around the whole dataset object
2021-05-10Merge branch 'testing' into feature/integrate-correlation-apiAlexander Kabui
2021-05-10add previous endpoint for correlationAlexander Kabui
2021-05-05base: species: Remove redundant assignmentBonfaceKilz
2021-05-05base: chromosomes: Fetch the chromosomes lazilyBonfaceKilz
2021-05-05base: species: Rewrite Chromosomes using a dataclassBonfaceKilz
2021-05-05base: species: Rewrite IndChromosome using a dataclassBonfaceKilz
2021-05-05base: trait: Remove logging informationBonfaceKilz
The log adds unnecessary noise in addition to creating unwanted side-effects.
2021-05-05base: species: Rewrite TheSpecies class using a dataclassBonfaceKilz
2021-05-05base: species: Remove unused importBonfaceKilz
2021-05-05base: species: Format SQL queriesBonfaceKilz
2021-04-30autopep8: Run autopep8 100 times with target rulesBonfaceKilz
Rules used are: E20,E211,E22,E224,E224,E225,E226,E227,E228,E231,E241,E242, E251,E252,E26,E265,E266,E27,E301,E302,E303,E304,E305,E306, E401,E501,E70,E701,W291,W292,W293,W391,W504,E101,E11,E121, E122,E123,E124,E125,E126,E127,E128,E129,E131,E133
2021-04-30autopep8: Fix E121,E122,E123,EI24,E125,E126,E127,E128,E129,E131,E133BonfaceKilz
2021-04-30autopep8: Fix W504BonfaceKilz
2021-04-30autopep8: Fix W291, W292, W293, W391BonfaceKilz
2021-04-30autopep8: Fix E501BonfaceKilz
2021-04-30autopep8: Fix E301,E302,E303,E304,E305,E306BonfaceKilz
2021-04-30autopep8: Fix E20-E27BonfaceKilz
Run: python -m autopep8 --in-place --recrusive ./ --select\ E20,E211,E22,E224,E224,E225,E226,E227,E228,E231,E241,\ E242,E251,E252,E26,E265,E266,E27 -p 3
2021-04-29Merge branch 'testing' into Feature/Add-upload-data-formsBonfaceKilz
2021-04-29Run `sed -i 's/(object)//g'`BonfaceKilz
See: https://is.gd/pL7IJF Ran: find . \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i 's/(object)//g'
2021-04-29base: trait: Remove unused functionBonfaceKilz
* wqflask/base/trait.py (jsonable_table_row): Delete it.
2021-04-29base: data_set: Remove unused methodBonfaceKilz
* wqflask/base/data_set.py (Dataset.get_accession_id): Delete it.
2021-04-29base: data_set: Apply pep-8BonfaceKilz
2021-04-29base: data_set: Remove unused methodBonfaceKilz
* wqflask/base/data_set.py (riset): Delete class method.
2021-04-29base: data_set: Rewrite data_set using @dataclassBonfaceKilz
@dataclasses should be used to hold only data. Since dataset only encapsulates data, re-writing it using a dataclass makes it more readable and easier to follow.
2021-04-28Added something to jsonable in trait.py to account for temp traits (this is ↵zsloan
necessary for them to show up correctly when selecting traits from collections in pop-up windows, like when selecting cofactors for mapping)
2021-04-26fix:remove debug statements and commented codeAlexander Kabui
2021-04-23debugging for fetching probe dataAlexander Kabui
2021-04-23Remove stale commentsBonfaceKilz
2021-04-20refactor code for iterating mrna tissue dataAlexander Kabui
2021-04-19Removed unused codezsloan
2021-03-17Added the RRID urls for mouse and rat to webqtlConfigzsloan
2021-03-03Checked if pre_publication_description is NULL, because there was an error ↵zsloan
resulting from a trait missing both pre_publication_description and pubmed ID
2021-02-18Changed DEFAULT_PERMISSIONS AND SUPER_PERMISSIONS to not have permissions be ↵zsloan
lists (I think the proxy expects them to not be lists, but then returns them as lists; need to check about this)
2021-02-18Fixed missing colonzsloan
2021-02-18Fixed checking permissions in trait.pyzsloan
2021-02-18Fixed SUPER_PRIVILEGES and DEFAULT_PRIVILEGESzsloan
2021-02-11Removed some log statementszsloan
2021-02-11Ensure trait description_display is setzsloan
2020-12-07Changed the logic in create_trait so that permissions should always be set, ↵zsloan
and added an assert that 'name' is passed instead of using if/else, since it should always be passed
2020-12-01Merge pull request #482 from zsloan/feature/corr_table_changeszsloan
Feature/corr table changes
2020-11-18Fixed issue where the cofactor trait descriptions didn't work correctlyzsloan
for genotype/snp cofactors (the code previously only accounted for probeset/phenotype cofactors, so it was treating genotypes/snps like phenotype traits)
2020-11-18Fixed issue that was causing scatterplot cofactors to not work if thezsloan
cofactors were genotypes (because it tried to get the "description_display" which doesn't exist for genotype traits)
2020-11-11Switched checking if a trait is confidential to checking if it has a pubmed ↵zsloan
ID for the purposes of showing pre-publication abbreviation/description
2020-11-03Changed the syntax for the "sort" function in the docstring of GeneralObject ↵zsloan
to be compatible with Python 3 syntax * wqflask/base/GeneralObject.py - edited docstring to be correct for Python 3
2020-10-27Get the "first_attr_start_pos" from a samplelist instead of from each ↵zsloan
individual sample, because it was previously causing problems when only some samples had an N * wqflask/base/webqtlCaseData.py - Removed code getting first_attr_start_pos * wqflask/wqflask/show_trait/SampleList.py - Added code getting first_attr_start_pos and assigning it to all samples + removing one unnecessary sort * wqflask/wqflask/static/new/javascript/initialize_show_trait_tables.js - Fixed issue that was causing the N column to not be displayed
2020-10-20Merge branch 'testing' into build/python3-migrationBonfaceKilz