Age | Commit message (Collapse) | Author |
|
section-form-div
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Namespace the session variable name to avoid conflicts with other
systems served on the same domain.
|
|
* wqflask/wqflask/templates/phenotype.html: New template.
* wqflask/wqflask/views.py (get_phenotype): New endpoint.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
|
|
|
|
|
|
* wqflask/wqflask/templates/publication.html: New page.
* wqflask/wqflask/views.py (get_dataset): New function.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
for the highest points on the manhattan plot
|
|
some reason)
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* wqflask/wqflask/templates/dataset.html: New page.
* wqflask/wqflask/templates/show_trait_details.html: Add link to GN2
datasets page.
* wqflask/wqflask/views.py (get_dataset): New endpoint.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
* wqflask/wqflask/templates/show_metadata_details.html: Delete.
* wqflask/wqflask/templates/show_trait.html: Delete if block that
checks includes trait metadata.
* wqflask/wqflask/views.py: Remove "metadata".
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
|
|
Using flask.current_app.config for configurations does not give the
appropriate configurations.
|
|
|
|
|
|
|
|
|
|
|
|
Reorganise the UI for resource creation.
Add a checkbox that sets the resource as publicly viewable by default.
|
|
|
|
|
|
error if there's nothing in the GeneList table for the interval selected
|
|
Deletions aren't working yet. This is dependent on a GN3 chance that allows the sample_list to be passed to get_trait_csv_sample_data
|
|
Also fix the display so it only shows 3 decimal places
|
|
This doesn't yet support adding sample data for samples that don't already have values
|
|
|
|
Use the privileges from the authorisation endpoint to control which
elements of the UI are displayed to the user.
* wqflask/base/trait.py: Remove unused import
* wqflask/wqflask/show_trait/show_trait.py: Unhook from GN-PROXY
* wqflask/wqflask/templates/show_trait.html: Display or hide UI
elements depending on the privileges the user has.
* wqflask/wqflask/templates/show_trait_details.html: Display or hide
UI elements depending on the privileges the user has.
* wqflask/wqflask/views.py: Pass privileges, user, and resource
details on to the UI template to be used for controlling UI element
display.
|
|
Enable the changing of the collection names.
* wqflask/wqflask/collect.py: Send data to GN3 API
* wqflask/wqflask/templates/collections/view.html: Use an actual form
and submit it.
|
|
|
|
* wqflask/wqflask/collect.py: Add and remove traits to and from
collections.
* wqflask/wqflask/oauth2/client.py: Add functions for POST and GET
that do the right thing depending on whether or not the user is
logged in.
* wqflask/wqflask/oauth2/request_utils.py: Add some common utility
function to create the data extraction functions for
`pymonads.either.Either` objects.
|
|
Enable the deletion of selected collections via the GN3 api.
|
|
Show the total number of collections available in the active session
in the collections badge at the top of the page.
Also do some minor UI tweaks to differentiate the user and anonymous
collections.
|
|
Integrate import/delete of anonymous collection when user is
authenticated.
|
|
Retrieve a specific collection's details from the GN3 endpoint rather
than from the session, as was done previously.
|
|
* wqflask/wqflask/collect.py: Send data to the GN3 API to create the
new collections.
* wqflask/wqflask/oauth2/client.py: Ensure request is sent as a json
request.
* wqflask/wqflask/static/new/javascript/search_results.js: use "POST"
rather than "GET" and send the traits also, in addition to the hash
|
|
|
|
Rework the sessions to do what was handled by the soon-to-be-obsolete
`wqflask.user_sessions` module.
This is necessary in order to retain the expected functionality of the
user collections, especially:
* anonymous user collections
* authenticated user collections
* import of anonymous collections when user authenticates
|
|
Fetch the user collections from GN3 for users that have authenticated.
|