From 47467d31798fad1fac4282e53494b615898b0021 Mon Sep 17 00:00:00 2001
From: Michiel Cottaar <MichielCottaar@protonmail.com>
Date: Thu, 12 Sep 2024 10:03:31 +0100
Subject: [PATCH] Test weird error in online pipeline

---
 test/test_sequences.jl | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/test/test_sequences.jl b/test/test_sequences.jl
index c9e924d..b6f6102 100644
--- a/test/test_sequences.jl
+++ b/test/test_sequences.jl
@@ -59,6 +59,7 @@
             end
             @testset "Set diffusion time Δ" begin
                 seq = DiffusionSpinEcho(TE=80., Δ=70., qval=:max)
+                @show seq
                 @test all(isapprox.(variables.duration.(seq), [0., 0., 10., 30., 0., 30., 10., 0., 0., 0.], atol=1e-4, rtol=1e-4))
                 @test variables.Δ(seq) ≈ 70.
                 @test variables.TE(seq) ≈ 80.
@@ -66,6 +67,7 @@
                 @test 0.72 < variables.bval(seq) < 0.73
                 @test variables.readout_times(seq)[1] ≈ variables.TE(seq)
                 @test variables.rise_time(seq[:gradient]) ≈ min_rise_time rtol=1e-4
+                @show edge_times(seq)
                 @test all(isapprox.(edge_times(seq), [0., min_rise_time, 10. - min_rise_time, 10., 40, 70, 70 + min_rise_time, 80 - min_rise_time, 80.], atol=1e-4))
             end
             @testset "Set gradient duration" begin
-- 
GitLab