aboutsummaryrefslogtreecommitdiff
path: root/wqflask/base/data_set.py
AgeCommit message (Expand)Author
2020-10-12Merge branch 'testing' into build/python3-migrationBonfaceKilz
2020-10-08Fixed remaining issue that applies to all dataset types...* 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 zsloan
2020-10-08Fixed issue where new phenotype groups wouldn't be saved to the self.datasets......* 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 zsloan
2020-09-30Removed unused code from TempDataSet class...* 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 zsloan
2020-08-28Merge branch 'testing' into build/python3-migrationBonfaceKilz
2020-08-27Remove redundant methods which are defined elsewhere...* wqflask/base/data_set.py: Delete "create_in_clause", and "mescape" which are defined in "utility.db_tools" BonfaceKilz
2020-08-27Replace "string.split" & "string.join" with python's inbuilt methodsBonfaceKilz
2020-08-26Remove "from __future__ import new_feature" statements...See: <https://docs.python.org/2/library/2to3.html#2to3fixer-future> BonfaceKilz
2020-08-26Rename "unicode" to "str"...See: <https://docs.python.org/2/library/2to3.html#2to3fixer-unicode> BonfaceKilz
2020-08-25Fixed issue in DatasetType that caused an error when trying to load new...datasets * wqflask/base/data_set.py - Added fetchone() to g.db.execute() which is what was causing the error zsloan
2020-08-20Handle module renames in the standard library...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> BonfaceKilz
2020-08-20Disable python2 QTLReaper...* wqflask/base/data_set.py: Remove usage of "reaper" to load datasets 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-19Replace `izip` with python's built-in equivalent...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> BonfaceKilz
2020-07-27Abstract away redundant code into set_dataset_key method...* wqflask/base/data_set.py (Dataset): - Add set_dataset_key - Remove __call__ method BonfaceKilz
2020-07-27Use the correct redis instance inside object...* wqflask/base/data_set.py (DatasetType): Use object's redis instance BonfaceKilz
2020-07-24Merge pull request #409 from BonfaceKilz/Build/add-tests...Build/add testszsloan
2020-07-24Fixed queries that were wrongly returning Data IDs as Nszsloan
2020-07-24Inject redis instance into DatasetType class...* 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 BonfaceKilz
2020-07-24Apply autopep-8...* wqflask/base/data_set.py: Apply autopep-8 BonfaceKilz
2020-07-24Remove unused importBonfaceKilz
2020-06-22Fixed issue with temp traits not working for trait page functions like correl...zsloan
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 inde...zsloan
2020-04-27Made change that should allow dataset structure to be loaded from Redis inste...zsloan
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 wh...zsloan
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 t...zsloan
2020-02-07Users can now add and do mapping on genotype files that only include a subset......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 zsloan
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 ord...zsloan
2019-11-14Changed code to rebuild dataset list each time you view the trait page to avo......Fixed logic for UniProt link to use UniProtId instead of protein ID zsloan
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 Phenot...zsloan
2019-10-18Added UniProt link and fixed issue that caused sample lists to not be formed ...zsloan
2019-07-23Added change to automatically update datasets list using rest api instead of ......Removed option to edit certain html pages, like news, policies, etc zsloan
2019-06-24Got non-LOCO GEMMA mapping working with gemma-wrapper (so caching should work......Fixed position digits and row highlighting on interval analyst table Updated default MAF to 0.05 Updated footer text zsloan
2019-06-18Fixed issue with sorting involving 0's on trait page...Fixed links to dataset info pages in search results and correlation results pages zsloan
2019-06-05Fixed issue that caused interval mapping to not work because the python imple......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) zsloan
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 or......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 zsloan
2019-02-13Removed pylmm references and related functionsPjotr Prins
2019-02-05Fixed issue with getting marker info that affected heatmap and possibly other......Added the collection page features (correlation matrix, network graph, third party link-outs, etc) to the search result and correlation result pages zsloan
2019-01-11Got InDel working for Variant Browser...Changed Variant Browser to display gene name under "Domain" when the user searches a gene term and rows are mislabeled "Intergenic" Fixed Chr option to display correct chromosomes for different species Fixed order for correlation drop-down on trait page Fixed some appearance issues with the mapping results table Improved appearance of correlation scatterplot page zsloan
2018-12-21Fixed collections so they can be very large (1000+ traits)...Added option to submit traits in collection to BNW Fixed issue with "x" values for user-submitted traits Fixed issue where post-publications descriptions were wrongly appearing in global search results zsloan