removed unused references from report generator
This commit is contained in:
parent
b79cb8779d
commit
827327b70e
1 changed files with 0 additions and 4 deletions
|
|
@ -150,10 +150,6 @@ def calculate_report_data(form: FormData, model: models.ExposureModel) -> typing
|
|||
zip(('viral_loads', 'pi_means', 'lower_percentiles', 'upper_percentiles'),
|
||||
manufacture_conditional_probability_data(model, prob))}
|
||||
|
||||
CO2_times = list(form.CO2_data['times']) if form.CO2_data_option else []
|
||||
CO2_values = list(form.CO2_data['CO2']) if form.CO2_data_option else []
|
||||
ex, airs = model.CO2_profile.CO2_fit_params()
|
||||
co2_plot = img2base64(_figure2bytes(CO2_plot(CO2_times, CO2_values))) if form.CO2_data_option else None
|
||||
|
||||
return {
|
||||
"model_repr": repr(model),
|
||||
|
|
|
|||
Loading…
Reference in a new issue