Skip to content

Commit

Permalink
Fix trajectory_delay does not accept list issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
btasdelen committed Nov 26, 2024
1 parent 34367e1 commit 2f14543
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pypulseq/Sequence/sequence.py
Original file line number Diff line number Diff line change
Expand Up @@ -749,7 +749,7 @@ def get_gradients(
gradient_delays = [trajectory_delay] * ng
else:
assert len(trajectory_delay) == ng # Need to have same number of gradient channels
gradient_delays = [trajectory_delay] * ng
gradient_delays = trajectory_delay * ng

# Gradient offset handling
if isinstance(gradient_offset, (int, float)):
Expand Down

0 comments on commit 2f14543

Please sign in to comment.