Commit 524050fd authored by Ingrid Luijkx's avatar Ingrid Luijkx
Browse files

Another small fix logging localization when set to None...

parent d4522c04
......@@ -48,9 +48,9 @@ class CtOptimizer(Optimizer):
else:
self.localization = False
self.localizetype = 'None'
self.tvalue = 0
logging.info("Current localization option is set to %s" % self.localizetype)
if self.localization == True:
if self.tvalue == 0:
logging.error("Critical tvalue for localization not set for %i ensemble members"%(self.nmembers))
sys.exit(2)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment