aboutsummaryrefslogtreecommitdiff
path: root/gn2/utility
AgeCommit message (Collapse)Author
2024-01-02Move default settings into gn2 module.Arun Isaac
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.