Commit graph

1371 commits

Author SHA1 Message Date
Nicola Tarocco
99de3e2ebd Auth service: pass debug option as CLI arg
* closes #237
2022-02-08 10:24:11 +01:00
Andre Henriques
7e61cc33e5 Merge branch 'feature/cumulative_inf_aero' into 'master'
Method to calculate the deposited_exposure between two times

See merge request cara/cara!322
2022-02-04 10:38:22 +01:00
Luis Aleixo
60cacfe9a1 Changed inf_aero variable name 2022-02-03 17:21:26 +01:00
Luis Aleixo
fb15b6f451 changed and added tests on test_exposure_model 2022-02-03 15:25:39 +01:00
Luis Aleixo
8855dfc75a Changed test values on test_monte_carlo_full_models 2022-02-03 15:14:33 +01:00
Luis Aleixo
2a43fffec9 changed docstring on models.py for the deposited_expoure method 2022-02-03 10:55:06 +01:00
Luis Aleixo
fee2bcab86 Changed test values on test_known_quantities 2022-02-03 10:54:44 +01:00
Luis Aleixo
c24853516b Changed test_monte_carlo.py exposure method 2022-02-03 10:10:53 +01:00
Luis Aleixo
dd77ba5090 added self.repeats to the deposited exposure calculation 2022-02-02 17:24:41 +01:00
Luis Aleixo
b7007ae345 deposited exposure as public method 2022-02-02 17:03:23 +01:00
Luis Aleixo
fbe47fa4d4 Removed exposure_between_bounds and exposure methods; created a deposited_exposure_between_bounds that considers the previous inf_aero; created deposited_exposure method that calls the deposited_exposure_between_bounds within start and stop times during the day; consider these methods to calculate the cumulative dose 2022-02-02 11:27:46 +01:00
Andre Henriques
584031e006 Merge branch 'feature/version_update' into 'master'
CARA version update following MR 307

See merge request cara/cara!325
2022-02-01 17:35:44 +01:00
Luis Aleixo
b5fd442c67 Version update 2022-02-01 17:26:30 +01:00
Andre Henriques
28a59fc075 Merge branch 'feature/pi_thresholds_animation' into 'master'
Updated missing threshold values on CERN applicable rules

Closes #244

See merge request cara/cara!324
2022-02-01 16:53:55 +01:00
Luis Aleixo
b813ce505b Updated missing threshold values on CERN applicable rules 2022-02-01 16:48:01 +01:00
Andre Henriques
b84d63ae25 Merge branch 'feature/pi_thresholds' into 'master'
New threshold values on CERN theme

Closes #244

See merge request cara/cara!323
2022-02-01 14:38:14 +01:00
Andre Henriques
a645263c31 Merge branch 'feature/scientific_model_update' into 'master'
Model updates with virology parameters

See merge request cara/cara!307
2022-02-01 14:06:07 +01:00
Luis Aleixo
02468f42fa updated threshold values 2022-02-01 12:14:49 +01:00
Luis Aleixo
3e4aa09eee Moved SAMPLE_SIZE and TOLERANCE to the respective test where they are used 2022-02-01 09:30:41 +01:00
Luis Aleixo
68d495ee8e Move toronto temperatures into test_monte_carlo_full_models where it is used 2022-01-28 11:18:47 +01:00
Nicolas Mounet
7af1abcde6 Minor fixes in cara/models.py 2022-01-27 15:38:25 +01:00
Andre Henriques
3b89ce1e43 Merge branch 'feature/covid_level_text' into 'master'
Covid level text update

See merge request cara/cara!321
2022-01-27 13:25:08 +01:00
Nicolas Mounet
8b485e80a7 Bug fix in Exposure class (cara/models.py) 2022-01-27 10:39:15 +01:00
Nicolas Mounet
46146b2a45 Improving fraction_deposited docstrings (in cara/models.py) 2022-01-27 10:14:43 +01:00
Nicolas Mounet
5302001ed9 Restructuring exposure class to avoid smelly code (cara/models.py) 2022-01-26 20:47:28 +01:00
Luis Aleixo
6b8f71048a Added covid level variable comments on the code for future reference. 2022-01-26 17:46:54 +01:00
Luis Aleixo
10565bd448 Updated covid level text 2022-01-26 17:14:52 +01:00
Luis Aleixo
b7a9a724a7 Merge branch 'master' into feature/scientific_model_update 2022-01-26 15:18:42 +01:00
Andre Henriques
c4fbb03adf Merge branch 'feature/numpy_updates' into 'master'
Adapted code to the new numpy version

Closes #233

See merge request cara/cara!320
2022-01-26 14:58:08 +01:00
Nicolas Mounet
9b1a324369 Minor change in models: particle methods changed into properties 2022-01-26 14:23:31 +01:00
Nicolas Mounet
c9329da4d1 models.py: some re-structuring to removing some code-smells (introduction of a Particle class where settling velocity and deposited fraction are computed) 2022-01-26 13:03:37 +01:00
Nicolas Mounet
9da5b5b929 Improving docstring for cn in Expiration class 2022-01-25 22:53:41 +01:00
Luis Aleixo
aae45ad456 Merge branch 'master' into feature/scientific_model_update 2022-01-25 17:21:53 +01:00
Luis Aleixo
d8e8398eeb Adapted code to new numpy version 2022-01-24 16:07:23 +01:00
Luis Aleixo
0a6472bdbf oneoverln2 back on the header of models.py 2022-01-17 14:09:24 +01:00
Luis Aleixo
f5f0365725 Added cn reference to the code 2022-01-17 14:01:40 +01:00
Luis Aleixo
8b6f399e02 Merge branch 'feature/openshift_template_router' into 'master'
Updated config-fetch and config-generate for routes.yaml

See merge request cara/cara!319
2022-01-13 17:43:30 +01:00
Luis Aleixo
008efd3467 Updated config-fetch and config-generate for routes.yaml 2022-01-13 17:38:02 +01:00
Luis Aleixo
7dd6e93e0d Merge branch 'feature/openshift_template_router' into 'master'
README update concerning routes.yaml

See merge request cara/cara!318
2022-01-13 17:14:29 +01:00
Luis Aleixo
a73f8ec5de Changed routes.yaml file name and respective reference in README 2022-01-13 16:36:01 +01:00
Luis Aleixo
ad74d68db4 removed fraction_deposited comment on text_exposure_model 2022-01-13 11:25:49 +01:00
Luis Aleixo
8d2d846492 oneoverln2 declaration changed location on models.py 2022-01-13 11:23:54 +01:00
Luis Aleixo
e26249327d updated test_r0 assert value 2022-01-13 11:18:02 +01:00
Luis Aleixo
8afa8bac9d Stylistic changes 2022-01-12 17:50:27 +01:00
Luis Aleixo
cfa2aa858e Added OMICRON VoC 2022-01-11 10:54:01 +01:00
Nicola Tarocco
07fe51ee06 Merge branch 'move-prod-to-okd4' into 'master'
Changes to move PROD to OKD4

See merge request cara/cara!317
2022-01-10 17:46:41 +01:00
Nicola Tarocco
b9a5f7844f Changes to move PROD to OKD4 2022-01-10 17:41:37 +01:00
Andre Henriques
6efa34a506 Merge branch 'feature/red_scale' into 'master'
CERN COVID19 level

Closes #235

See merge request cara/cara!315
2022-01-10 16:42:32 +01:00
Luis Aleixo
5260f0921a Updated CERN Covid level 2022-01-10 13:34:39 +01:00
Andre Henriques
c15a48881b Merge branch 'feature/dropdown_size' into 'master'
Changed Virus variant dropdown size

See merge request cara/cara!314
2022-01-07 09:47:23 +01:00