Closed tsalo closed 1 month ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 84.15%. Comparing base (
8ca5fbc
) to head (233da6b
). Report is 1 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Fixes a bug reported by @erikglee. Basically,
time_arr = np.arange(0, n_volumes * TR, TR)
andtime_arr = np.arange(n_volumes) * TR
should produce the same array, but in some casesn_volumes * TR
evaluates toX.00000005
(or something similar), which trickesnp.arange
into putting another value in the array, making it longer than desired. I've switched to the latter approach, which shouldn't be susceptible to the same problem.