Skip to content
Snippets Groups Projects
Commit 01fd5fa4 authored by angloth's avatar angloth
Browse files

Add error message for scheduling algorithms that haven't been implemented yet.

parent 72afec0c
No related branches found
No related tags found
1 merge request!56Resolve "Generate Schedule"
Pipeline #15941 passed
......@@ -31,7 +31,7 @@ class Schema:
if scheduling_alg == "ASAP":
self._schedule_asap()
else:
raise NotImplementedError
raise NotImplementedError(f"No algorithm with name: {scheduling_alg} defined.")
max_end_time = 0
for op_id, op_start_time in self._start_times.items():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment