Skip to content

Commit

Permalink
test: Filter columns for FSLMotionParams test
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Feb 7, 2025
1 parent 8c02a8d commit da5a025
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fmriprep/interfaces/tests/test_confounds.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@ def test_FSLMotionParams(tmp_path, data_dir):
)
res = motion.run()

orig_params = pd.read_csv(orig_timeseries, sep='\t')
derived_params = pd.read_csv(res.outputs.out_file, sep='\t')
# orig_timeseries includes framewise_displacement
orig_params = pd.read_csv(orig_timeseries, sep='\t')[derived_params.columns]

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

0 comments on commit da5a025

Please sign in to comment.