Skip to content

Commit 4f931db

Browse files
committed
fix bmag
1 parent 075c706 commit 4f931db

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dmriprep/interfaces/reports.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def _generate_segment(self):
143143
pe_direction = self.inputs.pe_direction
144144
shell_dist = self.inputs.shell_dist
145145
shell_dist_text = ", ".join(
146-
f"{shell_dist[key]} directions at b={key} s/mm\u00B2"
146+
f"{shell_dist[key]} directions at b={key} s/mm<sup>2</sup>"
147147
for key in shell_dist
148148
)
149149

dmriprep/interfaces/vectors.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class _CheckGradientTableInputSpec(BaseInterfaceInputSpec):
2020
in_rasb = File(exists=True, xor=["in_bval", "in_bvec"])
2121
b0_threshold = traits.Float(B0_THRESHOLD, usedefault=True)
2222
bvec_norm_epsilon = traits.Float(BVEC_NORM_EPSILON, usedefault=True)
23-
b_mag = traits.Int(None, usedefault=True)
23+
b_mag = traits.Either(None, traits.Int, usedefault=True)
2424
b_scale = traits.Bool(True, usedefault=True)
2525

2626

0 commit comments

Comments
 (0)