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")