Age | Commit message (Collapse) | Author |
|
Also improve error logging somewhat (but still need to properly display the error in a template)
|
|
This also includes a function for converting a list of traits/datasets to symbols, which was added to trait.py
|
|
|
|
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* to test the functionality use ga.genenetwork.org
|
|
|
|
|
|
* gn2/wqflask/views.py (get_dataset): Use a dataset's label as it's
identifier.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
|
|
Feature/refactor gnqa UI
|
|
* require gn-auth
|
|
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* gn2/wqflask/views.py (gnqna_hist): Add "require_oauth2" decorator.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com>
|
|
* gn2/wqflask/views.py: Import require_oauth2.
(gnqna): Add "require_oauth2" decorator.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Importing "user_logged_in" in the checks module just to export adds a
layer of indirection and makes the code hard to read.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* gn2/wqflask/views.py (search_for_dataset): Delete.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* gn2/wqflask/views.py (display_diffs_admin): Delete.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
|
|
* reason gnqa and gn-auth are currently unstable
|
|
|
|
|
|
|
|
|
|
* gn2/tests/wqflask/show_trait/test_show_trait.py
(test_get_ncbi_summary_request): Replace
"http://eutils.ncbi.nlm.nih.gov" with
"https://eutils.ncbi.nlm.nih.gov"
* gn2/wqflask/views.py (get_probeset): Ditto.
Co-authored-by: Alexander Kabui <Alexanderkabua@gmail.com>
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* gn2/wqflask/templates/genotype.html: Add extra dataset metadata.
* gn2/wqflask/views.py (get_genotype): Extend genotype URL to enable
specifying the dataset name.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* gn2/wqflask/templates/probeset.html: Add extra dataset metadata
elements for groups, species, tissue name and dataset link.
* gn2/wqflask/views.py (get_probeset): Extend probeset URL to enable
specifying the dataset name.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
|
|
|
|
|
|
|
|
|
|
* gn2/wqflask/templates/probeset.html: New probeset HTML file.
* gn2/wqflask/views.py (get_probeset): New function.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
|
|
|
|
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.
|
|
of opening a window with JS
|
|
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.
|