From 4f6398e819f1d5b59e11e891cd3f91f7ee292eae Mon Sep 17 00:00:00 2001 From: Luis Aleixo Date: Thu, 24 Mar 2022 13:55:03 +0100 Subject: [PATCH] Replaced "long range" by "long-range" --- README.md | 2 +- cara/apps/calculator/report_generator.py | 2 +- cara/apps/calculator/static/js/report.js | 4 ++-- .../templates/base/calculator.form.html.j2 | 2 +- .../templates/base/calculator.report.html.j2 | 2 +- cara/models.py | 24 +++++++++---------- 6 files changed, 18 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 57179d2b..90319c63 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ _Note that the short-range component of the model has not yet been published._ ### COVID Calculator -A risk assessment tool which simulates the long range airborne spread of the SARS-CoV-2 virus for space managers. +A risk assessment tool which simulates the long-range airborne spread of the SARS-CoV-2 virus for space managers. ### CARA Expert App diff --git a/cara/apps/calculator/report_generator.py b/cara/apps/calculator/report_generator.py index a995900d..07d560c0 100644 --- a/cara/apps/calculator/report_generator.py +++ b/cara/apps/calculator/report_generator.py @@ -110,7 +110,7 @@ def concentrations_with_sr_breathing(model: models.ExposureModel, times: typing. lower_concentrations = [] for time in times: for index, (start, stop) in enumerate(short_range_intervals): - # For visualization issues, add short-range breathing activity to the initial long range concentrations + # For visualization issues, add short-range breathing activity to the initial long-range concentrations if start <= time <= stop and short_range_activities[index] == 'Breathing': lower_concentrations.append(np.array(model.concentration(float(time))).mean()) break diff --git a/cara/apps/calculator/static/js/report.js b/cara/apps/calculator/static/js/report.js index 5ad8375b..b8511804 100644 --- a/cara/apps/calculator/static/js/report.js +++ b/cara/apps/calculator/static/js/report.js @@ -158,7 +158,7 @@ function draw_plot(svg_id) { .style("stroke-dasharray", "5 5") .attr('fill', 'none'); - // Line representing the long range cumulative concentration. + // Line representing the long-range cumulative concentration. if (show_sr_legend) { var longRangeCumulative = d3.line(); var draw_long_range_cumulative_line = draw_area.append('svg:path') @@ -252,7 +252,7 @@ function draw_plot(svg_id) { .duration(1000) .attr("d", lineCumulative(data_for_graphs.cumulative_doses)); - // Long range cumulative line. + // Long-range cumulative line. if (show_sr_legend) { longRangeCumulative.defined(d => !isNaN(d.concentration)) .x(d => xTimeRange(d.time)) diff --git a/cara/apps/templates/base/calculator.form.html.j2 b/cara/apps/templates/base/calculator.form.html.j2 index 04ffb455..de9716eb 100644 --- a/cara/apps/templates/base/calculator.form.html.j2 +++ b/cara/apps/templates/base/calculator.form.html.j2 @@ -555,7 +555,7 @@
Quick Guide:
- This tool simulates the long range airborne spread SARS-CoV-2 virus in a finite volume and estimates the risk of COVID-19 infection. It is based on current scientific data and can be used to compare the effectiveness of different mitigation measures.
+ This tool simulates the long-range airborne spread SARS-CoV-2 virus in a finite volume and estimates the risk of COVID-19 infection. It is based on current scientific data and can be used to compare the effectiveness of different mitigation measures.
Virus data:
SARS-CoV-2 covers the original "wild type" strain of the virus and three variants of concern (VOC):