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)