Skip to content
Snippets Groups Projects
Unverified Commit 47467d31 authored by Michiel Cottaar's avatar Michiel Cottaar
Browse files

Test weird error in online pipeline

parent 028a2420
No related branches found
No related tags found
1 merge request!8Make optimisation more robust
Pipeline #25500 passed
......@@ -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
......
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