trying to read from dataset
Browse files- evaluation.py +3 -0
evaluation.py
CHANGED
@@ -20,7 +20,10 @@ def evaluate_problem(
|
|
20 |
) -> problems.EvaluationSingleObjective | problems.EvaluationMultiObjective:
|
21 |
with Path(input_file).open("r") as f:
|
22 |
data = f.read()
|
|
|
23 |
data = data['boundary_json']
|
|
|
|
|
24 |
|
25 |
match problem_type:
|
26 |
case "geometrical":
|
|
|
20 |
) -> problems.EvaluationSingleObjective | problems.EvaluationMultiObjective:
|
21 |
with Path(input_file).open("r") as f:
|
22 |
data = f.read()
|
23 |
+
print(data)
|
24 |
data = data['boundary_json']
|
25 |
+
print(data)
|
26 |
+
print("data_length: ", len(data))
|
27 |
|
28 |
match problem_type:
|
29 |
case "geometrical":
|