Skip to content

Commit b243fdf

Browse files
committed
Use new param in tests.
1 parent 5102617 commit b243fdf

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

niworkflows/tests/test_confounds.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ def test_ConfoundsCorrelationPlot():
178178
"""confounds correlation report test"""
179179
confounds_file = os.path.join(datadir, "confounds_test.tsv")
180180
cc_rpt = ConfoundsCorrelationPlot(
181-
confounds_file=confounds_file, reference_column="a",
181+
confounds_file=confounds_file, reference_column="a", ignore_initial_volumes=1,
182182
)
183183
_smoke_test_report(cc_rpt, "confounds_correlation.svg")
184184

@@ -187,6 +187,9 @@ def test_ConfoundsCorrelationPlotColumns():
187187
"""confounds correlation report test"""
188188
confounds_file = os.path.join(datadir, "confounds_test.tsv")
189189
cc_rpt = ConfoundsCorrelationPlot(
190-
confounds_file=confounds_file, reference_column="a", columns=["b", "d", "f"],
190+
confounds_file=confounds_file,
191+
reference_column="a",
192+
columns=["b", "d", "f"],
193+
ignore_initial_volumes=0,
191194
)
192195
_smoke_test_report(cc_rpt, "confounds_correlation_cols.svg")

0 commit comments

Comments
 (0)