From 826837957298e6e0c0c4c35cdc9cc8a6e36d0470 Mon Sep 17 00:00:00 2001 From: alexmadison Date: Tue, 1 Mar 2022 14:00:47 +0100 Subject: [PATCH] bug to prev bug --- test/prsim_plot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/prsim_plot.py b/test/prsim_plot.py index 6b1b4a0..0408a91 100755 --- a/test/prsim_plot.py +++ b/test/prsim_plot.py @@ -226,6 +226,7 @@ Use -exclude='regex' to specify signals to exclude (or -ex).""") time = unique_times[np.argwhere((unique_times-time) < 0)[-1]] except: print(f"Couldn't find an appropriate time for assert {a}") + continue index = time_to_index(time) ax.axvline(index+0.5, c = "red", lw = 2) ax.text(index+0.5, -1, a[1], rotation = 90, ha = "center", va = "bottom", c = "red") @@ -239,6 +240,7 @@ Use -exclude='regex' to specify signals to exclude (or -ex).""") time = unique_times[np.argwhere((unique_times-time) < 0)[-1]] except: print(f"Couldn't find an appropriate time for echo {a}") + continue index = time_to_index(time) c = "xkcd:bright purple" ax.axvline(index+0.5, c = c, lw = 2)