diff --git a/pytec/pytec/gui/view/param_tree.json b/pytec/pytec/gui/view/param_tree.json index a5fbee5..0cef4cd 100644 --- a/pytec/pytec/gui/view/param_tree.json +++ b/pytec/pytec/gui/view/param_tree.json @@ -89,6 +89,7 @@ ], "format": "{value:.4f} {suffix}", "suffix": "°C", + "regex": "(?P[+-]?((((\\d+(\\.\\d*)?)|(\\d*\\.\\d+))([eE][+-]?\\d+)?)|((?i:nan)|(inf))))\\s*((?P[uyzafpnµm kMGTPEZY]?)(?P.*))?$", "noUnitEditing": true, "compactHeight": false, "param": [ @@ -201,6 +202,7 @@ ], "format": "{value:.4f} {suffix}", "suffix": "°C", + "regex": "(?P[+-]?((((\\d+(\\.\\d*)?)|(\\d*\\.\\d+))([eE][+-]?\\d+)?)|((?i:nan)|(inf))))\\s*((?P[uyzafpnµm kMGTPEZY]?)(?P.*))?$", "noUnitEditing": true, "compactHeight": false, "param": [ @@ -392,6 +394,7 @@ "step": 0.1, "format": "{value:.4f} {suffix}", "suffix": "°C", + "regex": "(?P[+-]?((((\\d+(\\.\\d*)?)|(\\d*\\.\\d+))([eE][+-]?\\d+)?)|((?i:nan)|(inf))))\\s*((?P[uyzafpnµm kMGTPEZY]?)(?P.*))?$", "noUnitEditing": true, "compactHeight": false, "pid_autotune": [ @@ -430,6 +433,7 @@ "step": 0.1, "format": "{value:.4f} {suffix}", "suffix": "°C", + "regex": "(?P[+-]?((((\\d+(\\.\\d*)?)|(\\d*\\.\\d+))([eE][+-]?\\d+)?)|((?i:nan)|(inf))))\\s*((?P[uyzafpnµm kMGTPEZY]?)(?P.*))?$", "noUnitEditing": true, "compactHeight": false, "pid_autotune": [