Skip to content

Commit

Permalink
error message updated
Browse files Browse the repository at this point in the history
modified:   KomaMRIFiles/src/Sequence/Pulseq.jl
  • Loading branch information
curtcorum committed Mar 6, 2024
1 parent 29c6e16 commit 981070d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion KomaMRIFiles/src/Sequence/Pulseq.jl
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ function read_Grad(gradLibrary, shapeLibrary, Δt_gr, i)
return G
elseif isempty(gradLibrary) #isempty(gradLibrary) checked first or error below
#No gradient shapes defined in seq file, set G to zero from above
@error "No gradients defined in seq file, but id $i used in block."
@error "No gradients defined in seq file [GRADIENTS] or [TRAP] sections, but id $i used in [BLOCKS]."
elseif gradLibrary[i]["type"] == 't' #if trapezoidal gradient
#(1)amplitude (2)rise (3)flat (4)fall (5)delay
g_A, g_rise, g_T, g_fall, g_delay = gradLibrary[i]["data"]
Expand Down

0 comments on commit 981070d

Please sign in to comment.