From 10f29c39fba73b36ddbf1ba4307a3abf4158fedd Mon Sep 17 00:00:00 2001 From: Jonas Liechti Date: Sun, 25 Aug 2019 16:35:27 +0200 Subject: [PATCH] closes NetrwTreeListing 5 --- endemic/nw_spread/Spreading.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/endemic/nw_spread/Spreading.py b/endemic/nw_spread/Spreading.py index 2748eb8..efb494b 100644 --- a/endemic/nw_spread/Spreading.py +++ b/endemic/nw_spread/Spreading.py @@ -60,8 +60,8 @@ def __init__(self, contact_structure, pathogen, treatment=None, **params): restrained to a single transmission per contact. TODO: Is this even present? - ignore_dyn_nodes_in_log: If True, nodes that expand their - lifespan are not set to -2 in self.outcome but keep their state or - they may undergo future state changes (e.g. recovery). + lifespan are not set to -2 in self.outcome but keep their + state or they may undergo future state changes (e.g. recovery). This option only has an effect if the contact_structure is a Temporal graph with specified node lifespans (arguments nodes_start and nodes_end of the TemporalGraph instance) @@ -2059,7 +2059,7 @@ def _run( self.pathogen.ids[strain_name] ] = treat_dict[strain_name] else: - #if treating is missing all strains are treated + # if treating is missing all strains are treated self.treating = [True for _ in xrange(self.pathogen.n)] # if we have treatment and selection, we need to use the combined # event handler