aboutsummaryrefslogtreecommitdiff
path: root/wqflask
AgeCommit message (Collapse)Author
2021-09-27Remove variable-- named after a python keyword-- called "list"BonfaceKilz
2021-09-27Remove lengthy stack trace for 404, 400, 408 status codesBonfaceKilz
The stack trace causes the log file to grow into unmanageable sizes over time.
2021-09-25Add progress indicator. Handle errors.Frederick Muriuki Muriithi
Issue: https://github.com/genenetwork/gn-gemtext-threads/blob/main/topics/gn1-migration-to-gn2/clustering.gmi * Add a progress indicator to show the user that there is some progress happening, so that they can wait. Add a function to handle any errors that arise.
2021-09-25Remove hard-coded URL; use configured URLFrederick Muriuki Muriithi
Issue: https://github.com/genenetwork/gn-gemtext-threads/blob/main/topics/gn1-migration-to-gn2/clustering.gmi * etc/default_settings.py: remove duplicate configuration variable * wqflask/wqflask/collect.py: use the configured url for the API server Use the configured URL rather that the hard-coded URL that was used for testing out the clustered heatmap generation.
2021-09-23Clear any existing image on subsequent clicksFrederick Muriuki Muriithi
Issue: https://github.com/genenetwork/gn-gemtext-threads/blob/main/topics/gn1-migration-to-gn2/clustering.gmi * If the user clicks on the "Clustered Heatmap" button, the system should remove any previously existing clustered heatmap image and replace it with the new image.
2021-09-23Move the heatmap display area to before the tableFrederick Muriuki Muriithi
Issue: https://github.com/genenetwork/gn-gemtext-threads/blob/main/topics/gn1-migration-to-gn2/clustering.gmi * Move the heatmap area to before the data table, so that once the heatmap is generated, it shows up before the table, and the user is able to see what happened.
2021-09-22Removed the Control for (marker) option from R/qtl for now since Danny ↵zsloan
mentioned it isn't working correctly
2021-09-22Fixed issue where the control marker parameter was being passed incorrectly ↵zsloan
to GN3 (should be just 'control' but was previously passed as 'control_marker')
2021-09-22Only show most search page options if results exist; otherwise provide a ↵zsloan
link back to the home page
2021-09-22Added type='button' to the Delete Collection button within collections/view, ↵zsloan
since without it it attempts to submit the form encapsulating the button (export in this case)
2021-09-22Remove references to reaper_version and code for running old qtlreaperzsloan
2021-09-22Cleanup codeFrederick Muriuki Muriithi
Issue: https://github.com/genenetwork/gn-gemtext-threads/blob/main/topics/gn1-migration-to-gn2/clustering.gmi * Remove unnecessary console.log(...) statements that were used in development * Re-arrange the html elements * Rename element id
2021-09-22Test heatmap creation from serialized figureFrederick Muriuki Muriithi
Issue: https://github.com/genenetwork/gn-gemtext-threads/blob/main/topics/gn1-migration-to-gn2/clustering.gmi * Attempt using the figure, serialized as JSON, to display the clustered heatmap.
2021-09-20Returned the GN1 url to gn1.genenetwork.org since it's apparently working ↵zsloan
well enough again now that some issues have been fixed
2021-09-20Removed the reaper_version selection option, since original qtlreaper is no ↵zsloan
longer supported
2021-09-20Added back the option to edit privileges on trait pages, since the metadata ↵zsloan
edit button had replaced it
2021-09-20Prevent the default submit actionFrederick Muriuki Muriithi
Issue: https://github.com/genenetwork/gn-gemtext-threads/blob/main/topics/gn1-migration-to-gn2/clustering.gmi * Prevent the default submit action.
2021-09-20Fix id used.Frederick Muriuki Muriithi
2021-09-20Move "Clustered Heatmap" button to separate formFrederick Muriuki Muriithi
Issue: https://github.com/genenetwork/gn-gemtext-threads/blob/main/topics/gn1-migration-to-gn2/clustering.gmi * Move the button out of the "export_form" into a new "heatmaps_form" to avoid some weird JS interaction that showed up.
2021-09-20Implement proof-of-concept code to submit dataFrederick Muriuki Muriithi
Issue: https://github.com/genenetwork/gn-gemtext-threads/blob/main/topics/gn1-migration-to-gn2/clustering.gmi * Implement some javascript to activate the "Clustered Heatmap" button. This commit provides a proof-of-concept implementation to help with identifying the requirements for sending and receiving of the heatmaps data.
2021-09-20Provide UI elements for clustered heatmap generationFrederick Muriuki Muriithi
Issue: https://github.com/genenetwork/gn-gemtext-threads/blob/main/topics/gn1-migration-to-gn2/clustering.gmi * wqflask/wqflask/collect.py: provide hard-coded URL for testing * wqflask/wqflask/templates/collections/view.html: provide button Provide a button to trigger the heatmap generation. As a test, we also provide a hard-coded URL for the API endpoint to get the heatmap data.
2021-09-16wqflask: views: Redirect to the correct URL after phenotype updateBonfaceKilz
2021-09-14Replace / with _ in the mapping results filename, due to / causing issues ↵zsloan
with being translated to directories
2021-09-14Replace / with _ in the file hashes in rqtl_mapping.py, since they get ↵zsloan
translated to directories
2021-09-13Change mapping export filename to use the path passed from run_mapping, ↵zsloan
instead of the generic mapping_results.csv
2021-09-13Change mapping export filename to use the trait hashzsloan
2021-09-13Add trait name and trait hash to exported mapping resultszsloan
2021-09-13Include some extra metadata in the mapping page details (in addition to the ↵zsloan
figure itself)
2021-09-13Change Genotype File text to only show the meaningful genotype deescriptionzsloan
2021-09-13Temporarily point the View in GN1 button to gn1-lily.genenetwork.org since ↵zsloan
some features aren't working on gn1.genenetwork.org yet
2021-09-11Add Jupyter Notebook Launcher to Tools dropdown menujgart
2021-09-10Fix issue with the way the template was checking if genofile_string was set; ↵zsloan
it was receiving an empty string, so the previous logic made it think there was a genofile string when there wasn't one
2021-09-10Removed encoding, since it's apparently not needed since the Python 3 ↵zsloan
switchover (and was causing there to be no matches between user IDs and groups)
2021-09-09Change trait name to display name in the metadata at the top of the page (so ↵zsloan
group codes will be includes in phenotype IDs
2021-09-09Replaced trait name with trait display name in display_mapping_results so ↵zsloan
the group codes will be includes in phenotype IDs
2021-09-07Add trait hash and datetime to mapping figurezsloan
2021-09-07Add timer to loading page to track how long the process has been runningzsloan
2021-09-05Fixed issue that caused sample data to not be fetched correctly; there's ↵zsloan
something wrong with the 'get_probeset_data' function (not sure why this function exists)
2021-09-03Allow categorical_var_list to be passed as a template variablezsloan
2021-09-03Fix issue that caused javascript to not work on the R/qtl mapping result ↵zsloan
page when permutations weren't used (because it wrongly expected the permutation histogram to always exist)
2021-09-03Fix issue where values written to phenotype file for R/qtl sometimes had ↵zsloan
trailing decimal values by grounding to 3 places past the decimal
2021-08-25Fix issue where correlation results weren't included parents/f1szsloan
2021-08-25Fixed issue in get_diff_of_vals that caused the diff to be calculated wrong ↵zsloan
(due to one set of values being rounded to 3 digits and the other not
2021-08-25Add map scale option that was missing for groups with only a single genotype ↵zsloan
file
2021-08-25Fix issue that could cause an error when doing cM mappingzsloan
2021-08-25Fix issue that could cause mapping_scale to not be set correctly in ↵zsloan
show_trait.py
2021-08-23Removed unused variable from list of 'wanted' variables for mappingzsloan
2021-08-23Fixed issue with the way categorical_vars and perm_strata were being passed ↵zsloan
to the template
2021-08-23Account for situations where the minimum permutation value is also above ↵zsloan
webqtlConfig.MAXLRS; previously threw an error
2021-08-23Fix get_perm_strata to usethe Ids for case attributes instead of names + ↵zsloan
allow perm_strata to be passed to the template