aboutsummaryrefslogtreecommitdiff
path: root/wqflask
AgeCommit message (Collapse)Author
2022-10-14Add BXD_GROUP_EXCEPTIONS to webqtlConfig.py instead of having the groups ↵zsloan
hardcoded into show_trait.build_correlation_tools (+ add BXD-Heart-Metals to that list) I'm not sure why this logic exists, so it might be removed entirely later. I'm asking Rob
2022-10-14Add redis_conn as argument to get_samplelist callszsloan
2022-10-14Declare search prefixes as boolean.Arun Isaac
Boolean search prefixes are used to filter the result set whereas non-boolean search prefixes merely contribute to the relevance score of the document. * wqflask/wqflask/gsearch.py (GSearch.__init__): Declare all search prefixes except description as boolean.
2022-10-14Update mock: Return correct test data.Frederick Muriuki Muriithi
2022-10-14Use f-strings to do string interpolationFrederick Muriuki Muriithi
2022-10-14Set up year of publication correctly.Frederick Muriuki Muriithi
2022-10-13Set scrollX to 100% in DataTables default settingszsloan
This should fix the issue where horizontal scrolling ruins the header/row alignment
2022-10-12Use SQL to fetch trait metadata instead of gn-proxy, since it's dramatically ↵zsloan
faster
2022-10-12Add filtering logic for correlation resultszsloan
2022-10-12Include chr/mb in trait metadatazsloan
2022-10-12Account for empty strings in get_string functionzsloan
2022-10-12Remove Test Correlation button and Biweight Midcorrelation optionzsloan
2022-10-12Include chr/mb values in jsonable traitzsloan
2022-10-12Commit missing html page.Frederick Muriuki Muriithi
2022-10-11Only compute Lit/Tissue corr when main trait's dataset is of type ProbeSetzsloan
2022-10-11Fix block_by_index ID referenced in show_trait.jszsloan
2022-10-11Change Interval Analyst table to use new GeneList tablezsloan
The query changes in GeneUtil.pyi (to insert column names using string formatting) are definitely some sort of SQL injection issue, but I'm not sure how else to do it Also, the table name will be changed later, once the new table has been tested for a while.
2022-10-11Remove logging from validation.jszsloan
2022-10-10Replace GeneList table name with new tablezsloan
Once this is confirmed to be working as expected, it will be changed back to GeneList (and the old table's name will be changed)
2022-10-08Added Shelby to creditsPjotr Prins
2022-10-08Update link to public datasetsPjotr Prins
2022-10-06DEBUG: More infoFrederick Muriuki Muriithi
2022-10-06DEBUG: More debug of CI/CD.Frederick Muriuki Muriithi
2022-10-06DEBUG: Collect more info to debug CI/CDFrederick Muriuki Muriithi
2022-10-06Check for incompatible datasets for various correlation types.Frederick Muriuki Muriithi
2022-10-05fix bug use target dataset for top n correlationAlexander_Kabui
2022-10-05remove data preprocessing for top n samplesAlexander_Kabui
2022-10-05Handle correlation errorFrederick Muriuki Muriithi
* Handle the correlation error such that it gives the user a better message for the cause of the error, instead of displaying the exception.
2022-10-05Bug: Check for compatible datasets for a correlation typeFrederick Muriuki Muriithi
2022-10-05bug: Use target dataset when computing tissue correlationsFrederick Muriuki Muriithi
2022-10-04Fix bug where dataset_name was being passed into get_samplelist query ↵zsloan
instead of group_id
2022-10-04Pass redis_conn to get_samplelistzsloan
2022-10-04Initialize result_list for /traits endpoint JSON outputzsloan
2022-10-04Remove unnecessary variableFrederick Muriuki Muriithi
Just assign the value of the function call directly to the dictionary key rather than using an intermediate variable.
2022-10-04Add more information to exception to help in debuggingFrederick Muriuki Muriithi
2022-10-03Bug: Don't process data for output earlyFrederick Muriuki Muriithi
* The ",".join(...) call was processing the data for output to file, way too early, which would lead to errors down the line, very far removed from the actual cause of the error.
2022-09-30Reformat statementFrederick Muriuki Muriithi
2022-09-30Remove unused table and simplify queryFrederick Muriuki Muriithi
2022-09-30Raise hard-limit on search results to 10k.Arun Isaac
* wqflask/wqflask/gsearch.py (MAX_SEARCH_RESULTS): Set to 10k.
2022-09-30Disregard permissions when displaying search results.Arun Isaac
* wqflask/wqflask/gsearch.py: Do not import types. (is_permitted_for_listing): Delete function. (GSearch.__init__): Do not call is_permitted_for_listing.
2022-09-29Fix identation issues in attribute query codezsloan
2022-09-29Curry function passed to Maybe.apply.Arun Isaac
* wqflask/wqflask/gsearch.py (GSearch.__init__): Curry function passed to Maybe.apply to construct the display name.
2022-09-29Hard-limit the number of search results.Arun Isaac
* wqflask/wqflask/gsearch.py (MAX_SEARCH_RESULTS): New constant. (GSearch.__init__): Hard-limit the number of search results to MAX_SEARCH_RESULTS.
2022-09-29Support prefix search and range queries.Arun Isaac
* wqflask/wqflask/gsearch.py (GSearch.__init__): Support prefix search and range queries.
2022-09-29Retrieve year as integer.Arun Isaac
* wqflask/scripts/index.py (main): Retrieve year as an integer from the SQL database. * wqflask/wqflask/gsearch.py (GSearch.__init__): Convert year from integer to string.
2022-09-29Index prefixed fields and add values.Arun Isaac
* wqflask/scripts/index.py (main): Index fields with prefixes, and add values for range queries.
2022-09-29Replace MonadicDictCursor with generator function.Arun Isaac
* wqflask/utility/monads.py (MonadicDictCursor): Delete class. (sql_query_mdict): New function. * wqflask/scripts/index.py: Import sql_query_mdict instead of MonadicDictCursor. (main): Use sql_query_mdict.
2022-09-29Open xapian database once, but SQL database once for each query.Arun Isaac
We reopen the SQL database once for each query because it times out if kept waiting. * wqflask/scripts/index.py (main): Open xapian database once, but SQL database once for each query.
2022-09-29Remove empty first line in docstrings.Arun Isaac
* wqflask/utility/monads.py (MonadicDict, MonadicDictCursor): Remove empty first line in docstrings.
2022-09-29Ignore None values early when initializing MonadicDict.Arun Isaac
* wqflask/utility/monads.py (MonadicDict.__init__): Ignore None values early instead of converting them to Nothing and then ignoring them.