changed finish variable name to stop for consistency

This commit is contained in:
Luis Aleixo 2022-03-10 18:48:08 +00:00
parent 114773b717
commit 0e3feafe94

View file

@ -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