Age | Commit message (Collapse) | Author |
|
max_lrs_text) clearer and more consistent, and fixed issue where an error would be thrown if this_trait['locus_chr'] or this_trait['locus_mb'] was None (it's unnecessary to pass those values to the template to begin with, since they're just used to set this_trait['max_lrs_text']
|
|
|
|
longer
|
|
|
|
of the trait table width, to avoid the border overlapping with the table
|
|
|
|
When a form element changes, it's marked as changed. Only input
elements with "changed" get submitted. Since we need to submit the
"hidden" input fields, we add "changed" to them anyways.
|
|
We only submit form elements that have changed, and use that to update
the relevant tables. See: https://stackoverflow.com/a/5221915
|
|
|
|
guessing because it appeared to not be used, but it actually is used because it includes the collection endpoints
|
|
Use GN3 API for R/qtl
|
|
|
|
the GN3 request
|
|
|
|
|
|
|
|
process_rqtl_results since that functionality was moved to GN3
|
|
lowercase, though not sure if this will fully fix the test
|
|
|
|
they're lower-case and other times not
|
|
fix issue in cofactors_to_dict where two variables were both called 'cofactors'
|
|
For now the exact column that's edited isn't tracked.
|
|
|
|
* wqflask/wqflask/decorators.py (admin_login_required): New decorator.
* wqflask/wqflask/views.py (edit_trait): Use admin_login_required
decorator.
|
|
* wqflask/wqflask/views.py (update_trait): New function.
|
|
|
|
|
|
|
|
|
|
Should add some some authentication logic to this later since it's not
supposed to be accessible to everyone.
|
|
|
|
* wqflask/wqflask/views.py (show_edit_trait_page): New function/
end-point.
|
|
|
|
|
|
* wqflask/wqflask/api/gen_menu.py (gen_dropdown_json): Use new
`get_all_species` function.
(get_species): Remove it.
|
|
|
|
|
|
* wqflask/wqflask/database.py (init_db): Remove it.
|
|
|
|
to show_trait template
|
|
to GN3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
by 1
|