Skip to content

Commit da5a025

Browse files
committed
test: Filter columns for FSLMotionParams test
1 parent 8c02a8d commit da5a025

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

fmriprep/interfaces/tests/test_confounds.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,9 @@ def test_FSLMotionParams(tmp_path, data_dir):
4646
)
4747
res = motion.run()
4848

49-
orig_params = pd.read_csv(orig_timeseries, sep='\t')
5049
derived_params = pd.read_csv(res.outputs.out_file, sep='\t')
50+
# orig_timeseries includes framewise_displacement
51+
orig_params = pd.read_csv(orig_timeseries, sep='\t')[derived_params.columns]
5152

5253
# Motion parameters are in mm and rad
5354
# These are empirically determined bounds, but they seem reasonable

0 commit comments

Comments
 (0)