From e76636210bd1199978c250b847c81f66600a70fa Mon Sep 17 00:00:00 2001 From: Dan Jackson Date: Thu, 25 Mar 2021 14:46:40 -0700 Subject: [PATCH 1/2] Fix typo --- aqi/algos/base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aqi/algos/base.py b/aqi/algos/base.py index bbe087f..aca92c7 100644 --- a/aqi/algos/base.py +++ b/aqi/algos/base.py @@ -15,7 +15,7 @@ def iaqi(self, elem, cc): :param elem: pollutant constant :type elem: int - :param cc: pollutant contentration (µg/m³ or ppm) + :param cc: pollutant concentration (µg/m³ or ppm) :type cc: str """ raise NotImplementedError @@ -76,7 +76,7 @@ def iaqi(self, elem, cc): _cc = Decimal(cc).quantize(self.piecewise['prec'][elem], rounding=ROUND_DOWN) - # define breakpoints for this pollutant at this contentration + # define breakpoints for this pollutant at this concentration bps = self.piecewise['bp'][elem] bplo = None bphi = None From 5fff8951d8313169eb27b2841ce8953f028b5da2 Mon Sep 17 00:00:00 2001 From: Dan Jackson Date: Thu, 25 Mar 2021 14:48:15 -0700 Subject: [PATCH 2/2] Fix typo (#1) --- aqi/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aqi/__init__.py b/aqi/__init__.py index 6737e59..2c48658 100644 --- a/aqi/__init__.py +++ b/aqi/__init__.py @@ -24,7 +24,7 @@ def to_iaqi(elem, cc, algo=ALGO_EPA): :param elem: pollutant constant :type elem: int - :param cc: pollutant contentration (µg/m³ or ppm) + :param cc: pollutant concentration (µg/m³ or ppm) :type cc: str :param algo: algorithm module canonical name :type algo: str