Skip to content

Commit

Permalink
bug fix in cartesian parameters parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
mcencini committed Oct 31, 2024
1 parent 748a19e commit 347b003
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/pulserver/parsing/_cartesian_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ def __init__(
self.flip_angle = flip

# TE / TR
if self.TE is not None:
if TE is not None:
self.TE = TE * 1e-3
if self.TR is not None:
if TR is not None:
self.TR = TR * 1e-3

# Accelerations
Expand Down Expand Up @@ -171,9 +171,9 @@ def __init__(
self.flip_angle = flip

# TE / TR
if self.TE is not None:
if TE is not None:
self.TE = TE * 1e-3
if self.TR is not None:
if TR is not None:
self.TR = TR * 1e-3

# Accelerations
Expand Down

0 comments on commit 347b003

Please sign in to comment.