Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
- Use rust correlations rather than the slower python one
- Remove code duplicated in the
`wqflask/wqflask/correlation/rust_correlation.py` module within the
`compute_correlation_rust` function.
|
|
Currently there's a separate trait_info_str function in
search_results.py, because search_results.py doesn't build the trait
objects (so it can't use the one in collect.py unless I change that to
accept traits as either a GeneralTrait class or dict - which might be
better, I'm not sure)
|
|
* wqflask/wqflask/templates/edit_probeset.html: Add probeset.name to
the h1 tag.
|
|
* wqflask/wqflask/templates/edit_probeset.html: Remove "reset" button.
Make button green. Move form element into the "container" div. Add
"container" class to form. Left justify labels, and the button.
Remove ":" from labels.
|
|
For both the edit phenotype and probeset pages, the diffs can be
viewed from history.html.
* wqflask/wqflask/templates/edit_phenotype.html: Delete "diffs"
section.
* wqflask/wqflask/templates/edit_probeset.html: Ditto.
|
|
* wqflask/wqflask/metadata_edits.py (edit_probeset): Delete logic for
fetching diff. Move that...
(show_history): ... here
* wqflask/wqflask/templates/edit_probeset.html: Update template to
show diffs in a history.html. Reposition and rename the h1 tag of
this page.
|
|
ATM, we don't show the name of the phenotype whose history we are
changing. That may be updated in a future commit.
* wqflask/wqflask/templates/edit_history.html: Reword h1 and remove
"{{}}" which results in a jinja error.
|
|
|
|
Integrate the use of the rust code to compute the correlations for the
"sample" correlation selection.
|
|
The trait values (X values) are converted to JSON within the
`run_correlation` call. Since JSON has the ability to represent lists
of objects, there is no point for the added conversion to and from
strings.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Update the code to return the setting already set up in the app.config
dictionary if it exists or None if it does not exist.
|
|
initialize_show_trait_tables.js
|
|
sure why this is necessary, but the search doesn't work otherwise
|
|
sample data for genotype traits
|
|
|
|
|
|
|
|
This functionality, at least how we use it, is already provided
natively in python's pdb. Should someone need this, they can add it
manually.
* wqflask/runserver.py (app_config): Remove "flask_debugtoolbar"
import and instantiation.
* wqflask/utility/startup_config.py (app_config): Ditto.
|
|
* wqflask/wqflask/metadata_edits.py (_get_diffs): If a user---whose
value is extracted from Redis and encoded in the file name---doesn't
exist in Redis, use the raw string extracted from the file.
|
|
* wqflask/wqflask/metadata_edits.py (update_phenotype): Replace old
"get_case_attributes" function call which returned a dict with the new
updated version that returns a tuple.
|
|
- Remove commented out code-blocks
- Remove calls with this pattern:
logger.info("Sending ...")
logger.info(request.url)
Should you want to inspect the local context of an
environment when troubleshooting, set a
breakpoint() and inspect the environment. To view
everything in the local context, use "pp
locals()"; and to view everything in the global
context, use "pp globals()".
|
|
- Have only `Pearson's r` and `Spearman's rho` as the available
choices for the partial correlations.
|
|
* wqflask/wqflask/templates/base: Remove links to non-functioning
mailing list. Remove link to "#genenetwork" channel that isn't currently
owned/moderated.
Co-authored-by: Ethan Willis <elwillis1@gmail.com>
|