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 ee4305c commit 9e1b9b1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions KomaMRIFiles/src/Sequence/WritePulseq.jl
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,10 @@ function write_seq(seq::Sequence, filename)
end

# Define the table to be written for the [ADC] section
adc_idx_obj_num_dwell_delay_freq_phase = [[idx, obj, 0, 0, 0, 0, 0] for (obj, idx) adcunique_obj_id]
for ionwdfp adc_idx_obj_num_dwell_delay_freq_phase
adc_idx_obj_num_dwell_delay_freq_phase = [
[idx, obj, 0, 0, 0, 0, 0] for (obj, idx) in adcunique_obj_id
]
for ionwdfp in adc_idx_obj_num_dwell_delay_freq_phase
obj = ionwdfp[2]
ionwdfp[3] = obj.N
ionwdfp[4] = obj.T * 1e9 / (obj.N - 1)
Expand Down

0 comments on commit 9e1b9b1

Please sign in to comment.