Skip to content

Commit 8574005

Browse files
committed
Bump BOLD truncation to 50 volumes for 36-parameter regression
25 volumes was too few: after discarding 2 TRs, only 23 timepoints remained, which is fewer than the ~36 columns in the 36-parameter nuisance regressor model, causing 3dTproject to fail.
1 parent dc372e3 commit 8574005

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

tests/integration/test_all.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,10 @@
3030
_TASK = "balloonanalogrisktask"
3131
_RUN = "01"
3232

33-
# Number of BOLD volumes to keep. Must be enough for nuisance regression
34-
# (after discarding --start-tr 2) but small enough to be fast.
35-
_BOLD_VOLUMES = 25
33+
# Number of BOLD volumes to keep. The 36-parameter regressor model needs
34+
# more timepoints than regressors (~36 columns + derivatives). After
35+
# discarding --start-tr 2, we need at least ~45 usable volumes.
36+
_BOLD_VOLUMES = 50
3637

3738

3839
# ---------------------------------------------------------------------------

0 commit comments

Comments
 (0)