aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-10-29Read connection detail from file. Use contextmanager.Frederick Muriuki Muriithi
Read connection details from file to make it easier to change host(s) in use. Use contextmanager to manage the connections.
2024-10-29Use argparse.ArgumentParser to collect CLI args from userFrederick Muriuki Muriithi
Collect arguments from the CLI using argparse rather than sys.argv directly.
2024-10-29Change indentation, wrap code in function and create entry-point.Frederick Muriuki Muriithi
2024-10-28Improve the logic for checking if genotypes are databasedzsloan
Previously it only checked if a genotype 'dataset' existed for the group in question. Now it also checks if the first marker in the results is in the database. This isn't a perfect solution, but it will probably avoid most situations where there's a mismatch between databased markers and markers in the genotype file
2024-10-28Fix bug that caused scatterplot URLs to be wrong when accessing mapping via hashzsloan
2024-10-25Change the way the flash_me functions such that there's no marginzsloan
flash_me handles displaying various notifications and error messages (like when you log out, or when you token expires)
2024-10-22Add GN2 Fallback link to index page and and error page/textzsloan
Also removed the error callback from the menu AJAX call since it seems to just duplicate the error message (which is also handled by the statusCode function)
2024-10-17Fix wildcard search for Genotype searcheszsloan
2024-10-17Remove GeneWeaver linkzsloan
It currently doesn't work and we're not sure what request is needed to get it working again. It seems like GeneWeaver may have replaced their previous functionality with just a REST API, so if we reimplement this we may need to handle the display ourselves (since GeneWeaver may only return results as JSON)
2024-10-17Replace global search icon with just the text 'Search'zsloan
Rob had mentioned wanting this change due to confusion over the icon
2024-10-15Include formatted Bin position in search results as an extra column when ↵zsloan
relevant
2024-10-15Increase phenotype description with on correlation result page tablezsloan
2024-10-15fix: use url_for to get genewiki urlJohn Nduli
2024-10-15feat: edit shows login message if not loggedinJohn Nduli
2024-10-15feat: add gn2 button to link to edittingJohn Nduli
2024-10-15Merge pull request #880 from genenetwork/chores/implement-clear-field-for-inputsAlexander Kabui
Implement clear search field for global search.
2024-10-14Remove empty div.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-10-14Add display page for NCBI RIF metadata.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-10-09Update application's allowed scopesFrederick Muriuki Muriithi
The `register-client` and `migrate-data` scopes are not supported for end-user clients.
2024-10-09Pass the scope from the token, not applicationFrederick Muriuki Muriithi
There are at times when a token's scope could be attenuated for whatever reason from the full scope allowed to the application. In those instances, it is necessary to use the token's scope rather than the full scope.
2024-10-04Refactor: add better help message for xapian search hints.Alexander_Kabui
2024-10-04feat: Implement clear search field for global search.Alexander_Kabui
2024-10-01Merge pull request #877 from genenetwork/feature/cleanup-base-fileAlexander Kabui
Feature/cleanup base file
2024-09-27Refactor: use url_for to fetch static files.Alexander_Kabui
2024-09-26feat: Modify templates to extend from index_page.Alexander_Kabui
* This ensures we have the global search functionality included for all.
2024-09-26Refactor: Fix order for importing css and js files.Alexander_Kabui
2024-09-26Refactor: Apply linting to gsearch template file.Alexander_Kabui
2024-09-25DEBUG: Log out R/qtl2 or Pair-Scan resultsFrederick Muriuki Muriithi
Running R/qtl2 and Pair-Scan results in the production container fails, but somehow runs on production. This implies a possible configuration thing that is not explicit. Hopefully this debug helps surface the cause to enable fixing.
2024-09-24Fix how name/dataset are passed to hmac_creation in Xapian search resultszsloan
Apparently the .data is necessary, because otherwise it passed some "Just" class that is interpreted as a hash or something. This causes an hmac mismatch when you do things like WebGestalt (and presumably other link-outs as well)
2024-09-24Call the function to get the result.Frederick Muriuki Muriithi
2024-09-24Fix: use logged_in function to check user auth status.Alexander_Kabui
2024-09-24Feat: extend index_page for gsearch_geno and pheno to include globalAlexander_Kabui
search in templates.
2024-09-24Refactor: remove custom css from base file.Alexander_Kabui
2024-09-24Refactor: refactor global search code in index file.Alexander_Kabui
* Include global search via gsearch template.
2024-09-24Refactor: move global search functionality to own module.Alexander_Kabui
2024-09-24Refactor: apply djlint for index page file.Alexander_Kabui
2024-09-24Merge pull request #878 from genenetwork/chores/redirect-after-login-fixesAlexander Kabui
Minor fixes for redirect_url in session
2024-09-23Add method to clear redirect url from session.Alexander_Kabui
2024-09-23Merge pull request #876 from genenetwork/chores/fix-do-ai-searchAlexander Kabui
Fix cases where index for '.' and ',' do not exist for do_ai_search.
2024-09-23Fix: link to the correct url for xapian syntax help.Alexander_Kabui
2024-09-23Refactor: run djlint for base html file.Alexander_Kabui
2024-09-23Refactor: remove empty classes and ids.Alexander_Kabui
2024-09-23Refactor: remove empty classes.Alexander_Kabui
2024-09-23Fix: fix orphan tags.Alexander_Kabui
2024-09-23Fix: use correct classname for dropdown.Alexander_Kabui
2024-09-23Fix: close spans with caret class.Alexander_Kabui
2024-09-23Refactor: run djlint for index page file.Alexander_Kabui
2024-09-23Refactor: move global search js to index file.Alexander_Kabui
2024-09-23Refactor: move global search css to index page.Alexander_Kabui
2024-09-23Refactor: Init move search from base to index file.Alexander_Kabui