Commit graph

1010 commits

Author SHA1 Message Date
Luis Aleixo
d1860484ff moved * notes to the end for the results dialog 2021-08-27 14:36:14 +02:00
Luis Aleixo
23de05928e created some css properties for header components 2021-08-26 10:44:56 +02:00
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
Luis Aleixo
4f402b0d00 started mobile resizing 2021-08-25 15:42:29 +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
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
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
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
Philip James Elson
e3e49b5de7 Merge branch 'feature/plotting_d3' into 'master'
Feature/plotting time vs concentration using d3 library

Closes #183

See merge request cara/cara!233
2021-08-06 08:18:40 +00:00
Luis Aleixo
acf14c05cd Use d3 for the concentration line plot in the report 2021-08-06 08:18:40 +00:00
Andre Henriques
5e781bbb4b Merge branch 'lrdossan-master-patch-47603' into 'master'
Attribute Luis' contribution

See merge request cara/cara!237
2021-08-05 14:24:52 +00:00
Luis Aleixo
077737b2cb Update index.html.j2 with luis' contribution 2021-08-05 14:07:22 +00:00
Luis Aleixo
cc4fb7cd3a Update luis' contribuion on README 2021-08-05 14:06:14 +00:00
Luis Aleixo
9f48be9840 Update README.md 2021-08-04 13:21:16 +00:00
Luis Aleixo
57b91fccdb cern yellow warning bug fix 2021-08-04 10:56:24 +02:00
Luis Aleixo
c111cb6454 results component vertically aligned 2021-08-04 10:46:26 +02:00
Luis Aleixo
5f652a8edc bug with Applicable rules tab solved 2021-08-04 10:29:20 +02:00