Skip to content

Commit

Permalink
fixing non-integer acceleration bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mcencini committed Oct 31, 2024
1 parent 06c596e commit 9cb2bd8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/pulserver/parsing/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,6 @@ class ParamsParser:
adc_dead_time: float | None = None

def __post_init__(self): # noqa

# rounding
if self.psd_rf_wait is not None:
self.psd_rf_wait *= 1e-6
Expand Down
2 changes: 1 addition & 1 deletion src/pulserver/sequences/_design_2D_spgr.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def design_2D_spgr(
g_slice_select=exc_block["gz"],
slice_thickness=slice_thickness,
slice_gap=slice_gap,
Ry=Ry,
Ry=int(Ry),
calib=Cy,
n_slices=n_slices,
ny=Ny,
Expand Down

0 comments on commit 9cb2bd8

Please sign in to comment.