Skip to content

Commit

Permalink
Fixed errors that caused test to fail
Browse files Browse the repository at this point in the history
  • Loading branch information
ggsdc committed Aug 2, 2024
1 parent 8fbd570 commit 6c98216
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cornflow-dags/DAG/tsp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class TspApp(ApplicationCore):
solution = Solution
solvers = dict(naive=TSPNaive, cpsat=OrToolsCP)
schema = load_json(os.path.join(os.path.dirname(__file__), "schemas/config.json"))
schema["properties"]["solver"]["enum"] = solvers.keys()
schema["properties"]["solver"]["enum"] = list(solvers.keys())
reports = ["report"]
schema["properties"]["report"]["enum"] = reports
schema["properties"]["report"]["default"] = reports[0]
Expand Down

0 comments on commit 6c98216

Please sign in to comment.