Skip to content

Commit

Permalink
Update KomaMRIFiles/src/Sequence/WritePulseq.jl
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
beorostica and github-actions[bot] authored Apr 11, 2024
1 parent e39fcf2 commit 2afd1fb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions KomaMRIFiles/src/Sequence/WritePulseq.jl
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,9 @@ function write_seq(seq::Sequence, filename)
end
if isa(obj.T, Vector{<:Number})
shape_tim = cumsum([0; obj.T]) / seq.DEF["GradientRasterTime"]
for (shape_tim_unique, id_tim) gradunique_tim_id
if length(shape_tim) == length(shape_tim_unique) && shape_tim shape_tim_unique
for (shape_tim_unique, id_tim) in gradunique_tim_id
if length(shape_tim) == length(shape_tim_unique) &&
shape_tim shape_tim_unique
ioamtd[5] = id_tim
end
end
Expand Down

0 comments on commit 2afd1fb

Please sign in to comment.