Load CSS files for Bootstrap-select v1.13.14, Bootstrap v4.1.3
Dashboard
Add the number of projects in TrendyQC (rather than number of reports)
Multiselects for every dropdown menu in the dashboard filtering
Metrics dropdown menus are now functional (for y-axis)
Plot
Message div for
Warning message if multiple metrics selected (default behaviour is to plot the first metric in the "list")
- Error message if the subset obtained by filtering is empty i.e. no runs were found using the parameters inputted by the user
Big div with 4 potential inner divs:
Filtering parameter recap
Skipped projects: collapsible div for projects which were skipped in the plotting because the metric wasn't found for those projects i.e. TSO500 run with Hap.py
Skipped samples: collapsible div for samples which were skipped in the plotting because the metric was empty for those samples i.e. X226025-GM2312272-23NGCEN4-9527-F-99347387-FR in 002_230706_A01295_0198_AHHHT5DRX3_CEN for gt_depth_sd in Somalier
Button to reset the filter and go back to the dashboard
Fix displaying of the x-axis
Backend
Plotting
prepare_filter_data
Adapt the prepare_filter_data to match the data gathered from the new form cleaning + allow multiple selection for subset to match the multiselect from the template
get_data_for_plotting
rewritten to optimize using pandas
gather skipped projects and skipped samples
format_data_for_plotly_js
rewritten to pandify a bit more
Views
GET Dashboard
Get the plottable metrics for the metrics dropdown menus
GET Plot
Check if the subset filtering returns a queryset. Create an error message if not
Check how many dfs are returned from the gathering of data. Create a warning message if multiple dfs. Plot using the first dataframe
Send the skipped projects and skipped samples data
Frontend
Base
Dashboard
Plot
Backend
Plotting
prepare_filter_data
prepare_filter_data
to match the data gathered from the new form cleaning + allow multiple selection for subset to match the multiselect from the templateget_data_for_plotting
format_data_for_plotly_js
Views
GET Dashboard
GET Plot
POST Plot
Go back to dashboard
buttonrequest.session
dataStatic files
This change is![Reviewable](https://reviewable.io/review_button.svg)