From 5a2fcb5564f623fe60fbc3c305574fafc5ce8de9 Mon Sep 17 00:00:00 2001 From: Tasio Mendez Date: Tue, 16 May 2017 14:12:20 +0200 Subject: [PATCH] Merge fixed --- soil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/soil.py b/soil.py index e078a0f..abb463b 100644 --- a/soil.py +++ b/soil.py @@ -21,7 +21,7 @@ def visualization(graph_name): for t_step in models.networkStatus["agent_%s" % x][attribute]: prec = 2 output = math.floor(models.networkStatus["agent_%s" % x][attribute][t_step] * (10 ** prec)) / (10 ** prec) # 2 decimals - emotionStatusAux.append((output, t_step, t_step+settings.timeout)) + emotionStatusAux.append((output, t_step, t_step + settings.network_params["timeout"])) attributes = {} attributes[attribute] = emotionStatusAux G.add_node(x, attributes)