aboutsummaryrefslogtreecommitdiff
path: root/wqflask/base/data_set.py
AgeCommit message (Collapse)Author
2021-04-23debugging for fetching probe dataAlexander Kabui
2021-02-11Removed some log statementszsloan
2020-10-12Merge branch 'testing' into build/python3-migrationBonfaceKilz
2020-10-08Fixed remaining issue that applies to all dataset typeszsloan
* wqflask/base/data_set.py - Fixed issue where there was an error when trying to take the len of the query results when there were no results
2020-10-08Fixed issue where new phenotype groups wouldn't be saved to the ↵zsloan
self.datasets property because the group name was used as the key (instead of the group name + "Publish", which is the full dataset name for phenotypes) * wqflask/base/data_set.py - Set "group_name" as a separate variable from "name" to avoid it being used as the key in self.datasets
2020-09-30Removed unused code from TempDataSet classzsloan
* wqflask/base/data_set.py - TempDataSet class contained some code referring to the SQL DB, but temp traits aren't stored in the SQL DB anymore
2020-08-28Merge branch 'testing' into build/python3-migrationBonfaceKilz
2020-08-27Remove redundant methods which are defined elsewhereBonfaceKilz
* wqflask/base/data_set.py: Delete "create_in_clause", and "mescape" which are defined in "utility.db_tools"
2020-08-27Replace "string.split" & "string.join" with python's inbuilt methodsBonfaceKilz
2020-08-26Remove "from __future__ import new_feature" statementsBonfaceKilz
See: <https://docs.python.org/2/library/2to3.html#2to3fixer-future>
2020-08-26Rename "unicode" to "str"BonfaceKilz
See: <https://docs.python.org/2/library/2to3.html#2to3fixer-unicode>
2020-08-25Fixed issue in DatasetType that caused an error when trying to load newzsloan
datasets * wqflask/base/data_set.py - Added fetchone() to g.db.execute() which is what was causing the error
2020-08-20Handle module renames in the standard libraryBonfaceKilz
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>
2020-08-20Disable python2 QTLReaperBonfaceKilz
* wqflask/base/data_set.py: Remove usage of "reaper" to load datasets
2020-08-19Make Python more idiomaticBonfaceKilz
Run `2to3-3.8 -f idioms -w .` See: <https://docs.python.org/2/library/2to3.html#2to3fixer-idioms>
2020-08-19Replace `izip` with python's built-in equivalentBonfaceKilz
Run `2to3-3.8 -f itertools -w . && 2to3-3.8 -f itertools_imports -w .` See: <https://docs.python.org/2/library/2to3.html#2to3fixer-itertools_imports> and <https://docs.python.org/2/library/2to3.html#2to3fixer-itertools>
2020-07-27Abstract away redundant code into set_dataset_key methodBonfaceKilz
* wqflask/base/data_set.py (Dataset): - Add set_dataset_key - Remove __call__ method
2020-07-27Use the correct redis instance inside objectBonfaceKilz
* wqflask/base/data_set.py (DatasetType): Use object's redis instance
2020-07-24Merge pull request #409 from BonfaceKilz/Build/add-testszsloan
Build/add tests
2020-07-24Fixed queries that were wrongly returning Data IDs as Nszsloan
2020-07-24Inject redis instance into DatasetType classBonfaceKilz
* wqflask/base/data_set.py(DatasetType): - Rename Redis instance to r to avoid confusion and name collisions - Inject the redis instance into Dataset_Types class to make it easier to test - Rename Dataset_Types class to DatasetType class
2020-07-24Apply autopep-8BonfaceKilz
* wqflask/base/data_set.py: Apply autopep-8
2020-07-24Remove unused importBonfaceKilz
2020-06-22Fixed issue with temp traits not working for trait page functions like ↵zsloan
correlation or mapping
2020-06-17Adding all the authentication stuffzsloan
2020-05-07Fixed blatseq issue and geno correlation issueblatseq_fixzsloan
2020-05-07Committing current progress on group manager + a minor fix in dataset.pyzsloan
2020-04-27Added timeout for when/if it does the REST API query, so it doesn't hang ↵zsloan
indefinitely
2020-04-27Made change that should allow dataset structure to be loaded from Redis ↵zsloan
instead of the JSON file without breaking things
2020-04-26Removed the code that was still writing the database menu JSONzsloan
2020-04-24Replaced hard-coded instances of GN2 urls with ones pulled from settings filezsloan
2020-04-24Made a fix that should prevent the issue where new datasets cause an error ↵zsloan
when they're in search results
2020-04-06Added Mean column for phenotype traits in search and global search result tableszsloan
2020-03-27Fixed issue where GEMMA wasn't showing up for certain groupszsloan
2020-03-27Added integration for using RData files with R/qtl, plus some other changes ↵zsloan
to how it decides which mapping methods to display on the trait page
2020-02-07Users can now add and do mapping on genotype files that only include a ↵zsloan
subset of samples/strains Also filtered the results used by Christian's genome browser, so now it should have an easier time loading when dealing with larger numbers of markers
2019-12-04Added M to the possible non-number 'chromosome' nameszsloan
2019-11-21Added 3-letter codes to unpublished phenotype traits and fixed issue with ↵zsloan
ordering phenotype results from searches
2019-11-14Changed code to rebuild dataset list each time you view the trait page to ↵zsloan
avoid having to restart each time a new dataset is added. Will need to keep an eye out for any issues, but doesn't seem to affect speed much Fixed logic for UniProt link to use UniProtId instead of protein ID
2019-11-05Fixed issue with ordering items in correlation dataset select dropdownzsloan
2019-10-24Changed logic for generating drop-downs such that it shows the correct ↵zsloan
Phenotypes name when there's no accession ID
2019-10-18Added UniProt link and fixed issue that caused sample lists to not be formed ↵zsloan
correctly in certain situations
2019-07-23Added change to automatically update datasets list using rest api instead of ↵zsloan
json file Removed option to edit certain html pages, like news, policies, etc
2019-06-24Got non-LOCO GEMMA mapping working with gemma-wrapper (so caching should ↵zsloan
work for that now) Fixed position digits and row highlighting on interval analyst table Updated default MAF to 0.05 Updated footer text
2019-06-18Fixed issue with sorting involving 0's on trait pagezsloan
Fixed links to dataset info pages in search results and correlation results pages
2019-06-05Fixed issue that caused interval mapping to not work because the python ↵zsloan
implementation of the reaper Dataset object doesn't include the addinterval method (so for those situations I still use reaper) Fixed issue where the last chromosome wasn't displayed for mapping results (though still need to fix issue where points are drawn too far to the right when a specific range is viewed)
2019-05-24Replaced qtlreaper Dataset object with python objectzsloan
2019-03-18- Added PCA traits to correlation matrix. You can't change their names yet ↵zsloan
or add them to a collection from the corr matrix page, but you can click them and access them from the trait page. I'll add the option to access them from the corr matrix page as well, but adding the option to change their names might be trickier since they're currently used as their Redis keys. I need some better way of passing the Redis key around so it can be stored in collections, but this is tricky without changing the structure in ElasticSearch - Fixed the way temp traits work so you can use them with various functions, like mapping, correlations, network graph, etc - Fixed some appearance issue where the network graph options were too wide if a trait name was too long
2019-02-13Removed pylmm references and related functionsPjotr Prins
2019-02-05Fixed issue with getting marker info that affected heatmap and possibly ↵zsloan
other functions Added the collection page features (correlation matrix, network graph, third party link-outs, etc) to the search result and correlation result pages