aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/views.py
AgeCommit message (Collapse)Author
2024-01-05fix errorAlexander_Kabui
2024-01-05fetch gn_server_url from current configAlexander_Kabui
2024-01-02Fix path to error GIFs.Arun Isaac
genenetwork2 is now run from the top-level directory of the repo. So, we prepend gn2 to the error GIF path. * gn2/wqflask/views.py (handle_generic_exceptions): Prepend gn2 to error GIF path.
2024-01-02Change the way the info button works so that it just submits a form instead ↵zsloan
of opening a window with JS
2024-01-02Consistently use GN_VERSION from app config.Arun Isaac
GN_VERSION is set in the configuration file and read into the app config dictionary. Use that instead of re-reading from the etc/VERSION file. * gn2/utility/tools.py (gn_version): Delete function. (GN_VERSION): Delete variable. * gn2/wqflask/metadata_edits.py (display_phenotype_metadata, display_probeset_metadata, show_history): Use GN_VERSION in app config. * gn2/wqflask/views.py: Do not import GN_VERSION from gn2.utility.tools. (handle_generic_exceptions, index_page.__render__, submit_trait_form): Use GN_VERSION in app config.
2023-12-29Namespace all modules under gn2.Arun Isaac
We move all modules under a gn2 directory. This is important for "correct" packaging and deployment as a Guix service.