aboutsummaryrefslogtreecommitdiff
path: root/gn2/maintenance/set_resource_defaults.py
diff options
context:
space:
mode:
authorArun Isaac2024-01-02 13:22:23 +0000
committerArun Isaac2024-01-02 13:40:56 +0000
commitee27a5b0e0abcb08ce54fd41a5098522a812f8bd (patch)
tree5c220a41adfd37ea06893a6c518c971c98eccb96 /gn2/maintenance/set_resource_defaults.py
parent70c4201b332e0e2c0d958428086512f291469b87 (diff)
downloadgenenetwork2-ee27a5b0e0abcb08ce54fd41a5098522a812f8bd.tar.gz
Consistently use GN_VERSION from app config.
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.
Diffstat (limited to 'gn2/maintenance/set_resource_defaults.py')
0 files changed, 0 insertions, 0 deletions