From d0cfd795d1dbe66abcc0a45b60381eca999bfc0d Mon Sep 17 00:00:00 2001 From: alexanderott Date: Sun, 13 Sep 2020 09:54:13 +0200 Subject: [PATCH] remove tau test from abstract model --- models/AbstractModel.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/models/AbstractModel.py b/models/AbstractModel.py index 5acab93..419ae1d 100644 --- a/models/AbstractModel.py +++ b/models/AbstractModel.py @@ -96,9 +96,9 @@ class AbstractModel: err_msg = "Unknown key in the given parameters:" + str(k) raise ValueError(err_msg) - if "tau" in k and params[k] < 0.0000001: - warn("Time constants cannot be negative or smaller than 0.0001ms setting " + str(k) + " to 0.5ms") - params[k] = 0.00005 + # if "tau" in k and params[k] < 0.0000001: + # warn("Time constants cannot be negative or smaller than 0.0001ms setting " + str(k) + " to 0.5ms") + # params[k] = 0.00005 if k == "refractory_period" and params[k] < 0: warn("negative refractory period makes no sense. Setting " + str(k) + " to 0ms")