Commit graph

1232 commits

Author SHA1 Message Date
Luis Aleixo
f52a206728 changed style props into bootstrap classes 2021-08-26 10:40:36 +02:00
Luis Aleixo
439ac3363b moved pdf.js script tag into the bottom of the html page 2021-08-26 10:35:07 +02:00
Luis Aleixo
d8ac052f7b converting pt to px units 2021-08-26 10:32:22 +02:00
Luis Aleixo
0e1936f565 Changed min-width property to apply only for the generated pdf 2021-08-26 10:25:04 +02:00
Phil Elson
6178fc3c15 Update the nginx version to 1.18 2021-08-26 06:08:10 +02:00
Philip James Elson
fd49deaca0 Merge branch 'feature/dockerfile-w-expert' into 'master'
Include the expert app in the public docker image

See merge request cara/cara!247
2021-08-26 05:52:42 +02:00
Luis Aleixo
4f402b0d00 started mobile resizing 2021-08-25 15:42:29 +02:00
Phil Elson
c81bdeb21e Include the expert app in the public docker image. 2021-08-25 13:20:59 +02:00
Nicolas Mounet
6491ac17ed Merge branch 'feature/better_plot_sampling' into 'master'
Choose the times to sample in the report more wisely

See merge request cara/cara!242
2021-08-25 11:04:43 +02:00
Phil Elson
208ffc20e3 Strengthen the handling of float values for fill_big_gaps 2021-08-25 10:25:48 +02:00
Phil Elson
0861abcdba Add a test for interesting_times which covers a model containing temperatures. 2021-08-25 09:58:45 +02:00
Luis Aleixo
2fe067a562 changed min-width properties for the generated pdf 2021-08-25 09:19:20 +02:00
Luis Aleixo
7bd0851397 Merge branch 'master' into feature/report_reformulation 2021-08-23 11:52:46 +02:00
Luis Aleixo
3af12d3732 changed pdf function name 2021-08-23 11:31:27 +02:00
Luis Aleixo
d8e539c9d3 added responsive size for alternative scenarios 2021-08-23 11:22:15 +02:00
Luis Aleixo
63c2ef5f82 Set first page break dynamically 2021-08-23 10:32:57 +02:00
Luis Aleixo
9ca6036036 CSS display tabs bug fix 2021-08-23 09:02:08 +02:00
Luis Aleixo
67b6044219 changed virus to virions 2021-08-20 16:45:36 +02:00
Luis Aleixo
ab181b5345 removed unused import 2021-08-20 16:44:27 +02:00
Luis Aleixo
13d2fcc3f6 page breaks bug correction 2021-08-19 16:22:26 +02:00
Luis Aleixo
4688f7ea6e added hyperlink to qr code 2021-08-19 16:10:38 +02:00
Luis Aleixo
b525866109 added correct page sizes 2021-08-19 15:25:02 +02:00
Luis Aleixo
0f7d3b106c added pagination and qr code 2021-08-19 14:26:58 +02:00
Luis Aleixo
087864dbfb added correct breaks 2021-08-19 12:29:06 +02:00
Luis Aleixo
ec270fe8b9 page numbers 2021-08-19 10:38:41 +02:00
Luis Aleixo
0e374499c2 all tabs in one file pdf version 2021-08-18 21:37:21 +02:00
Luis Aleixo
d06528e5b4 some extra width sizes 2021-08-18 16:22:19 +02:00
Luis Aleixo
b7276d4714 updated width 2021-08-18 15:45:53 +02:00
Luis Aleixo
8ff84963f2 added html2pdf property 2021-08-18 12:17:01 +02:00
Luis Aleixo
072c47d70a updated variable names and type 2021-08-17 15:31:32 +02:00
Luis Aleixo
33c948937d Merge branch 'master' into feature/concentration_cumulative_dose and updated plot with cumulative dose 2021-08-17 15:04:58 +02:00
Philip James Elson
fe04e201f1 Merge branch 'update/d3plot' into 'master'
Update d3 plot units and title - missing from previous MRs

See merge request cara/cara!244
2021-08-12 07:52:35 +00:00
Andre Henriques
277044473c Update the plots in the report to show virons / m³, following on from !236. 2021-08-12 07:52:34 +00:00
Phil Elson
d1833955dd Choose the times to sample in the report more wisely. 2021-08-10 16:59:47 +02:00
Nicolas Mounet
559ac2723f Merge branch 'feature/higher_resolution_temperature' into 'master'
Restore the outside temperature data to a 6 minute resolution

See merge request cara/cara!212
2021-08-06 17:04:03 +00:00
Philip James Elson
eafa8331bc Merge branch 'feature/plotting_d3' into 'master'
Correct the yrange calculation in the report concentration plot

Closes #183 and #187

See merge request cara/cara!240
2021-08-06 15:21:49 +00:00
Luis Aleixo
825216c983 Correct the yrange calculation in the report concentration plot 2021-08-06 15:21:48 +00:00
Nicolas Mounet
feef402674 Merge branch 'optimisation/tactical-caching' into 'master'
Introduce some further caching for performance gains

See merge request cara/cara!241
2021-08-06 13:38:37 +00:00
Phil Elson
3206a069a0 After review under snakeviz, introduce some further caching for performance gains. 2021-08-06 15:32:01 +02:00
Nicolas Mounet
c745823768 Merge branch 'optimisation/last_state_change_bisection' into 'master'
Use bisection method to compute the last state change for improved performance

See merge request cara/cara!239
2021-08-06 13:25:16 +00:00
Phil Elson
f22ba928e0 Ensure that 0 is always one of the state change times. 2021-08-06 15:17:37 +02:00
Phil Elson
eaefa515eb Restore the outside temperature data to a 6 minute resolution for improved smoothness of the presented results. 2021-08-06 12:01:58 +02:00
Phil Elson
06b606f3fa Remove the unused _is_interval_between_state_changes method. 2021-08-06 11:57:00 +02:00
Nicolas Mounet
ad97a6b18c Merge branch 'optimisation/better_concentration_caching' into 'master'
Optimisation: Improve the caching of concentration(time) calls by ensuring that floats are used throughout the cara codebase when representing time

See merge request cara/cara!238
2021-08-06 09:53:50 +00:00
Phil Elson
0e71ace0d9 Implement bisection algorithm for finding the most recent state change. 2021-08-06 11:52:14 +02:00
Phil Elson
43b9b864af Improve the testing of ConcentrationModel.last_state_change 2021-08-06 11:52:14 +02:00
Phil Elson
9546c1966c Rename _concentration_at_state_change to _concentration_cached. 2021-08-06 11:50:06 +02:00
Phil Elson
aa269aaf6e Use floats throughout the cara codebase to represent time. 2021-08-06 10:39:41 +02:00
Philip James Elson
e1d8b3a2c8 Merge branch 'feature/virology_parameters' into 'master'
ER and P(I) formulas update according to qID parameter

Closes #184

See merge request cara/cara!236
2021-08-06 08:24:28 +00:00
Luis Aleixo
acbf676a28 Remove the concept of quanta in the model, focusing instead on virons. 2021-08-06 08:24:25 +00:00