Age | Commit message (Collapse) | Author |
|
|
|
* wqflask/wqflask/metadata_edits.py (approve_case_attribute_data): New
end-point.
|
|
|
|
|
|
* wqflask/wqflask/metadata_edits.py (show_case_attribute_columns): Add
"case_attributes_edit_access" and "login_required" decorators.
|
|
* wqflask/wqflask/decorators.py: Import
"gn3.authentication.get_groups_by_user_uid".
(case_attributes_edit_access): New decorator. Checks which users are in
the "editors" group in Redis.
* wqflask/wqflask/metadata_edits.py: Import
"wqflask.decorators.case_attributes_edit_access"
(update_case_attributes): Use "@update_case_attributes" decorator.
(reject_case_attribute_data): Ditto.
|
|
* wqflask/wqflask/metadata_edits.py (_get_author): Delete function.
(show_case_attribute_columns): Use "get_user_info_by_key".
|
|
* wqflask/wqflask/metadata_edits.py (show_case_attribute_columns): Fetch
id---this is already passed in the template---when getting case
attributes.
(reject_case_attribute_data): New endpoint for rejecting data.
* wqflask/wqflask/templates/case_attributes.html: Add JS logic for
rejecting data.
|
|
|
|
|
|
|
|
* wqflask/wqflask/metadata_edits.py (_get_author):
New function.
(show_case_attribute_columns): Pass the author
name and id---case-attribute---field into the
template.
* wqflask/wqflask/templates/case_attributes.html:
Add an "author" column when displaying the
modified/deleted/inserted data. Also, add the
case-attribute's id as a data-id element.
|
|
|
|
|
|
* wqflask/wqflask/metadata_edits.py (show_case_attribute_columns):
Replace the redis fetch with SQL for retrieving diff data.
|
|
|
|
|
|
This generates a js error in the console log.
|
|
|
|
* wqflask/wqflask/templates/case_attributes.html: When deleting a
case-attribute, make a POST request.
|
|
* wqflask/wqflask/metadata_edits.py (show_case_attribute_columns): Store
the diff data on a POST in SQL.
|
|
* wqflask/wqflask/metadata_edits.py (update_case_attributes): Add
"login_required" and "edit_admins_access_required" decorators.
|
|
|
|
* wqflask/wqflask/metadata_edits.py (display_phenotype_metadata): Delete
"headers" variable when passing it to the template.
*wqflask/wqflask/templates/edit_phenotype.html: Remove special not that
lists the case-attributes with their IDs in brackets.
|
|
* wqflask/wqflask/metadata_edits.py
(show_case_attribute_columns): pass the diff'ed
data to the template
(update_case_attributes): New function. Parses
data from JS and saves it redis in
"case-attr-diffs:review"
* wqflask/wqflask/templates/case_attributes.html:
Make post request---to save the data to redis for
approval.
|
|
* wqflask/wqflask/metadata_edits.py: When editing
a case-attribute, make a post request to the
relevant end-point.
|
|
*
wqflask/wqflask/metadata_edits.py (approve_data):
Return the fetched case_attributes as is.
* wqflask/wqflask/templates/case_attributes.html:
Parse the case attributes as a tuple.
|
|
|
|
|
|
- Display any correlation computation errors in a form that tells the
user what they did wrong.
|
|
- Display index correctly
- Move checkbox element to the table body
- Make progress indicator prominent
|
|
|
|
|
|
|
|
This was mistakenly removed with a recent change and caused cofactors
selection to stop working
|
|
Handle asynchronous results for partial correlation against a select
number of traits.
Reduce the polling time from 10 seconds to 5 seconds
|
|
|
|
|
|
covariate selection appearance
|
|
in get_traits_from_collection.js
|
|
rename Delete Rows to just Remove
|
|
Rather than checking the status field, check for the queued field
instead and only display the 'in progress' indicator when the
computation has been queued for later.
|
|
- Ensure the 'with_target_db' value is set up correctly when sending
request to GN3 API
- Set up empty target traits list in case none has been provided
|
|
|
|
|
|
|
|
|
|
Previously I was splitting by colon to make it comma-delimited, but this
is pointless since this file is going to be reformatted with the colons
after being imported
|
|
|
|
|