Skip to content

Commit 60f823d

Browse files
committed
fix: docstring needs to be updated properly.
1 parent 5b66b9e commit 60f823d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/mrinufft/_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def decorator(func):
119119
if self.docstring_subs is not None and func.__doc__:
120120
docstring = cleandoc(func.__doc__)
121121
for key, sub in self.docstring_subs.items():
122-
docstring.replace(f"${{{key}}}", sub)
122+
docstring = docstring.replace(f"${{{key}}}", sub)
123123
func.__doc__ = docstring
124124
return func
125125

src/mrinufft/extras/field_map.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,11 +122,11 @@ def _make_sphere(shape, frac_radius=0.3):
122122

123123

124124
_field_map_docs = dict(
125-
base_params=r"""\
125+
base_params=r"""
126126
field_map : NDArray
127127
The field map (off-resonance map) in rad/s, If complex-valued, the real part
128128
is interpreted as R2* mapping. If real-valued this is the field
129-
inhomogeneities in Hz. and will be multiplied by :math:`2*j*\pi`
129+
inhomogeneities in Hz. and will be multiplied by :math:`2j\pi`
130130
readout_time : NDArray
131131
The vector of time points (in seconds) at which to compute phase evolution.
132132
mask : NDArray

0 commit comments

Comments
 (0)