Age | Commit message (Collapse) | Author |
|
|
|
Use absolute paths for font files so that they are loaded
successfully, regardless of whether the application is run with the
working directory being the root of the GN2 repo/package or not.
|
|
Log out the absolute path to avoid replicating the relative path in
the logs, which isn't useful.
This relates to commit ca8018a61f2e014b4aee4da2cbd00d7b591b2f6a
|
|
I suspect the use of relative paths might be the cause of the failure
in the production container — In the development environments and the
CI/CD container, the applications are run at the root of the GN2
repository/package. This might not be the case in the production-esque
containers, since the packages are installed in GNU Guix's store, and
the launching of the application might be entirely elsewhere.
This commit will hopefully log out the information necessary to figure
out whether or not my hypothesis is correct.
|
|
|
|
|
|
Fetch configurations from the application, rather than from the
`gn2.utility.tools` module that does not get the updated values from
the secrets file.
|
|
|
|
|
|
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.
|
|
We move all modules under a gn2 directory. This is important for
"correct" packaging and deployment as a Guix service.
|