|
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.
|