From 0b8e4dd4d200fb9fb75b007744ea46db4112b720 Mon Sep 17 00:00:00 2001 From: Simon Bjurek <simbj106@student.liu.se> Date: Mon, 24 Feb 2025 10:45:20 +0100 Subject: [PATCH] ran pre commit on all files. --- b_asic/_preferences.py | 4 ++-- test/unit/test_schedule.py | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/b_asic/_preferences.py b/b_asic/_preferences.py index 004e498c..83ac3f43 100644 --- a/b_asic/_preferences.py +++ b/b_asic/_preferences.py @@ -16,6 +16,6 @@ PE_COLOR = (0, 185, 231) # LiuBlue PE_CLUSTER_COLOR = (210, 238, 249) # LiuBlue5 MEMORY_COLOR = (0, 207, 181) # LiuGreen MEMORY_CLUSTER_COLOR = (213, 241, 235) # LiuGreen5 -IO_COLOR = (23, 199, 210) # LiuTurqoise -IO_CLUSTER_COLOR = (215, 239, 242) # LiuTurqoise5 +IO_COLOR = (23, 199, 210) # LiuTurquoise +IO_CLUSTER_COLOR = (215, 239, 242) # LiuTurquoise5 MUX_COLOR = (255, 100, 66) # LiuOrange diff --git a/test/unit/test_schedule.py b/test/unit/test_schedule.py index bbd98c36..4d45755d 100644 --- a/test/unit/test_schedule.py +++ b/test/unit/test_schedule.py @@ -804,8 +804,7 @@ class TestYLocations: schedule = Schedule(sfg_simple_filter, ASAPScheduler()) # Assign locations schedule.show() - print(schedule._y_locations) - assert schedule._y_locations == {'in0': 0, 'cmul0': 1, 'add0': 2, 'out0': 3} + assert schedule._y_locations == {'in0': 0, 'cmul0': 1, 'add0': 3, 'out0': 2} schedule.move_y_location('add0', 1, insert=True) assert schedule._y_locations == {'in0': 0, 'cmul0': 2, 'add0': 1, 'out0': 3} schedule.move_y_location('out0', 1) -- GitLab