Skip to content

Commit

Permalink
Update bids/variables/io.py
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Markiewicz <[email protected]>
  • Loading branch information
adelavega and effigies authored Apr 7, 2021
1 parent a6eafe4 commit 6b65695
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bids/variables/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def _load_time_variables(layout, dataset=None, columns=None, scan_length=None,
except Exception as e:
if scan_length is not None:
duration = scan_length
nvols = int(scan_length / tr)
nvols = int(np.rint(scan_length / tr))
else:
msg = ("Unable to extract scan duration from one or more "
"BOLD runs, and no scan_length argument was provided "
Expand Down

0 comments on commit 6b65695

Please sign in to comment.