Compare commits
2 Commits
26e9400c75
...
9684522da7
Author | SHA1 | Date | |
---|---|---|---|
9684522da7 | |||
82022ef929 |
@ -36,7 +36,7 @@ from helpers.tags import Tree
|
|||||||
# Tests
|
# Tests
|
||||||
from helpers.test.knn import CVSuiteTestKNN
|
from helpers.test.knn import CVSuiteTestKNN
|
||||||
|
|
||||||
# from helpers.test.decision_tree import CVSuiteTestDecisionTree
|
from helpers.test.decision_tree import CVSuiteTestDecisionTree
|
||||||
|
|
||||||
## UI config load
|
## UI config load
|
||||||
PROJECT_PATH = pathlib.Path(__file__).parent
|
PROJECT_PATH = pathlib.Path(__file__).parent
|
||||||
@ -308,6 +308,10 @@ class CVSuite:
|
|||||||
self.log.add(f"Std {label}", std[idx])
|
self.log.add(f"Std {label}", std[idx])
|
||||||
|
|
||||||
def runTest(self, data, event=None):
|
def runTest(self, data, event=None):
|
||||||
|
# Don't run the test if there's no scaler
|
||||||
|
if self.scaler is None:
|
||||||
|
return
|
||||||
|
|
||||||
output = self.builder.get_object("testdata")
|
output = self.builder.get_object("testdata")
|
||||||
output.configure(state="normal")
|
output.configure(state="normal")
|
||||||
output.delete(1.0, "end")
|
output.delete(1.0, "end")
|
||||||
|
Loading…
Reference in New Issue
Block a user