From 0e3feafe94e8826b657028e0d7da7c8584b084d1 Mon Sep 17 00:00:00 2001 From: Luis Aleixo Date: Thu, 10 Mar 2022 18:48:08 +0000 Subject: [PATCH] changed finish variable name to stop for consistency --- cara/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cara/models.py b/cara/models.py index d476f130..0520cbb6 100644 --- a/cara/models.py +++ b/cara/models.py @@ -1093,9 +1093,9 @@ class ShortRangeModel: it returns 0. """ for index, period in enumerate(self.presence): - start, finish = tuple(period.boundaries()) + start, stop = tuple(period.boundaries()) # Verifies if the given time falls within a short range interaction - if start < time <= finish: + if start < time <= stop: dilution = self.dilutions[index] jet_origin_concentration = self.expirations[index].jet_origin_concentration() # Long range concentration normalized by the virus viral load