aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-08-31Remove unused "string" importMunyoki Kilyungi
* wqflask/utility/logger.py: Delete "import string".
2022-08-31Replace debug with error logs in Except block pre/post a sessionMunyoki Kilyungi
Put error logs in an Except block for easier parsing and re-word the error messages in them. * wqflask/wqflask/views.py: Delete "utility.logger" and "logger". (connect_db): Delete "g._database". Delete "logger.debug()". Use "app.logger.error" in Except block. (shutdown_session): Delete "logger.debug()". Use "app.logger.error" in Except block.
2022-08-31Add transform parameter to mapping api unit testzsloan
2022-08-31Change qnorm parameter to transform, so other transforms can be added laterzsloan
2022-08-31Add qnorm option to mapping apizsloan
2022-08-31Move normf function out of quantile_normalize_vals so it can be imported by ↵zsloan
mapping api
2022-08-31Fix failing api/test_mapping.py testzsloan
2022-08-31Re-add read_from_pyfileMunyoki Kilyungi
* wqflask/wqflask/database.py (read_from_pyfile): Re-add it. This is used in the sql_uri() function.
2022-08-30Remove logging and unused imports from api/mapping.pyzsloan
2022-08-30Add genofile parameter to mapping API endpointzsloan
2022-08-30Close a database connection only onceMunyoki Kilyungi
* wqflask/wqflask/database.py (database_connection): Close connection only once; otherwise an error is raised.
2022-08-25Merge branch 'Alexanderlacuna-chores/gn2-queries-optimization' into testingFrederick Muriuki Muriithi
2022-08-25Merge branch 'chores/gn2-queries-optimization' of ↵Frederick Muriuki Muriithi
github.com:Alexanderlacuna/genenetwork2 into Alexanderlacuna-chores/gn2-queries-optimization
2022-08-24Fix issue where literature correlations were always run against their own ↵zsloan
dataset, instead of the target dataset
2022-08-24Limit literature correlation results to top N as specified in the formzsloan
2022-08-23Add support for database rollbacks if the db engine supports it.Munyoki Kilyungi
* wqflask/wqflask/database.py: Import contextlib. (database_connection): Refactor to support roll-backs.
2022-08-23Delete unused function and imports.Munyoki Kilyungi
* wqflask/wqflask/database.py: Remove unused sqlalchemy imports. (read_from_pyfile): Delete it.
2022-08-23integrate code for fetching traits metadataAlexander_Kabui
2022-08-23function to fetch metadataAlexander_Kabui
2022-08-20Divide GEMMA additive effect by 2zsloan
2022-08-20Fix JS for opening new tabs (or not) for collection page tools/optionszsloan
2022-08-19Fix message and function keyFrederick Muriuki Muriithi
2022-08-18bulk fetch n number of traits type probesetAlexander_Kabui
2022-08-17Reduce incremental backoff timeFrederick Muriuki Muriithi
2022-08-17Do incremental backoff for mechanical rob testsFrederick Muriuki Muriithi
Sometimes the tests might be run before the service has began running. This commit delays the running of the tests for a while.
2022-08-17Merge branch 'Alexanderlacuna-chores/rust-enhancements' into testingFrederick Muriuki Muriithi
2022-08-17Use context managers for database cursorsFrederick Muriuki Muriithi
2022-08-17Merge branch 'chores/rust-enhancements' of ↵Frederick Muriuki Muriithi
github.com:Alexanderlacuna/genenetwork2 into Alexanderlacuna-chores/rust-enhancements
2022-08-16Merge dicts into single resultFrederick Muriuki Muriithi
2022-08-16Convert list items to single dictFrederick Muriuki Muriithi
2022-08-16rename boolean variablesAlexander_Kabui
2022-08-16linter fixesAlexander_Kabui
2022-08-16enable compute all for testAlexander_Kabui
2022-08-16index error fixAlexander_Kabui
2022-08-16remove flask g objectAlexander_Kabui
2022-08-16minor fixes for computing all correlationsAlexander_Kabui
2022-08-16Setup default GN_PROXY settingFrederick Muriuki Muriithi
2022-08-15add default values for num overlap,corr_coeffAlexander_Kabui
2022-08-14init:perform top n sample for probesAlexander_Kabui
2022-08-12Update to newer lxml APIFrederick Muriuki Muriithi
2022-08-12Revert "Check for keys before using them."Frederick Muriuki Muriithi
This reverts commit a1cbc12f843bbdc1759d5acac5ae3630fb5d4b81.
2022-08-12Merge branch 'integrate-rust-correlations' of ↵Frederick Muriuki Muriithi
github.com:genenetwork/genenetwork2 into integrate-rust-correlations
2022-08-12Add a profiling scriptFrederick Muriuki Muriithi
Add a script to enable profiling the code.
2022-08-12Fix some issues with the tests. Add notes in code for improvements.Frederick Muriuki Muriithi
2022-08-12Refactor: separate the three correlation typesFrederick Muriuki Muriithi
Refactor the code such that each correlation type (sample, tissue, literature) is computed in its own function. This makes the code clearer, and helps reduce repetition.
2022-08-12Fix correlation tests: Fix the test message.Frederick Muriuki Muriithi
2022-08-12Check for keys before using them.Frederick Muriuki Muriithi
2022-08-12Update format to prevent tissue correlation from failingFrederick Muriuki Muriithi
Update the data format of returned values so that it conforms with expectatitions.
2022-08-12Check that the correlations work as expected.Frederick Muriuki Muriithi
2022-08-12Fix formatting for legibilityFrederick Muriuki Muriithi