trying to read from dataset
Browse files- evaluation.py +1 -0
evaluation.py
CHANGED
|
@@ -20,6 +20,7 @@ def evaluate_problem(
|
|
| 20 |
) -> problems.EvaluationSingleObjective | problems.EvaluationMultiObjective:
|
| 21 |
with Path(input_file).open("r") as f:
|
| 22 |
data = f.read()
|
|
|
|
| 23 |
|
| 24 |
match problem_type:
|
| 25 |
case "geometrical":
|
|
|
|
| 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":
|