You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
assertlen(trajectory_delay) ==ng# Need to have same number of gradient channels
gradient_delays= [trajectory_delay] *ng
I suppose the last line should be gradient_delays = trajectory_delay
as input trajectory_delay is already a list.
To Reproduce seq.get_gradients(trajectory_delay = [1e-6, 1.5e-6, 0])
creates nested list of three repetitons of the trajectory delay and raise ValueError in
Describe the bug
In:
pypulseq/pypulseq/Sequence/sequence.py
Lines 747 to 752 in 5b51dc8
I suppose the last line should be
gradient_delays = trajectory_delay
as input
trajectory_delay
is already a list.To Reproduce
seq.get_gradients(trajectory_delay = [1e-6, 1.5e-6, 0])
creates nested list of three repetitons of the trajectory delay and raise
ValueError
inpypulseq/pypulseq/Sequence/sequence.py
Line 774 in 5b51dc8
Screenshots
Desktop (please complete the following information):
pypulseq
version: 1.42The text was updated successfully, but these errors were encountered: