Skip to content

Commit 51c306b

Browse files
committed
FIX: Cast np.round to float
1 parent 2708d42 commit 51c306b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nibabies/workflows/bold/outputs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def prepare_timing_parameters(metadata: dict):
133133
if run_stc:
134134
first, last = st[0], st[-1]
135135
frac = config.workflow.slice_time_ref
136-
tzero = np.round(first + frac * (last - first), 3)
136+
tzero = float(np.round(first + frac * (last - first), 3))
137137
timing_parameters['StartTime'] = tzero
138138

139139
return timing_parameters

0 commit comments

Comments
 (0)