From 1be87533baa8aad0dcb0d788a590aa2cc102b388 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20V=C3=A9ril?= Date: Thu, 30 Apr 2020 16:06:46 +0200 Subject: [PATCH 1/3] Use json.dumps instead of str().lower to write boolean --- tools/lib/data.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/lib/data.py b/tools/lib/data.py index cd5509ff..5ecb4c21 100644 --- a/tools/lib/data.py +++ b/tools/lib/data.py @@ -7,6 +7,7 @@ from enum import IntEnum,auto,unique,IntFlag from .Format import Format import re import numpy as np +import json class state: def __init__(self,number, multiplicity, symetry): @@ -294,7 +295,7 @@ class dataFileBase(object): str(ex.value) if ex.value is not None else "_", str(ex.T1) if ex.T1 is not None else "_", str(ex.oscilatorForces) if ex.oscilatorForces is not None else "_", - str(ex.isUnsafe).lower()) + json.dumps(ex.isUnsafe)) f.write(mystr) class method: def __init__(self,name, *args): From 73050812cd8f14849c6f28bb6c100d4cb2addcf8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20V=C3=A9ril?= Date: Thu, 30 Apr 2020 16:19:00 +0200 Subject: [PATCH 2/3] Change statistics header names --- content/multipledataset.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/multipledataset.html b/content/multipledataset.html index e22ff85c..f1fcf451 100644 --- a/content/multipledataset.html +++ b/content/multipledataset.html @@ -712,9 +712,9 @@ draft: false MAE Median Absolute Median - RMS + RMSE Variance - Standard deviation + SDE From 061d91f8036cf40dd61764702d921b16f7826dc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20V=C3=A9ril?= Date: Thu, 30 Apr 2020 18:21:38 +0200 Subject: [PATCH 3/3] Use for acronyms in statistics header --- content/multipledataset.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/content/multipledataset.html b/content/multipledataset.html index f1fcf451..0bca2fc3 100644 --- a/content/multipledataset.html +++ b/content/multipledataset.html @@ -708,13 +708,13 @@ draft: false Count Min Max - MSE - MAE + MSE + MAE Median Absolute Median - RMSE + RMSE Variance - SDE + SDE