Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ignore_initial_volumes param to ConfoundsCorrelationPlot #843

Merged
merged 2 commits into from
Dec 6, 2023

Conversation

tsalo
Copy link
Contributor

@tsalo tsalo commented Dec 6, 2023

Related to nipreps/fmriprep#2614. Once this is merged and there's a new release, I will open a PR to fMRIPrep.

Changes proposed:

  • Add an ignore_initial_volumes parameter to the ConfoundsCorrelationPlot interface.
  • Add an ignore_initial_volumes parameter to the confounds_correlation_plot function.
  • Use the new parameter in related smoke tests.

Copy link

codecov bot commented Dec 6, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (546f143) 60.95% compared to head (b243fdf) 60.96%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #843   +/-   ##
=======================================
  Coverage   60.95%   60.96%           
=======================================
  Files          55       55           
  Lines        6557     6558    +1     
  Branches      954      954           
=======================================
+ Hits         3997     3998    +1     
  Misses       2374     2374           
  Partials      186      186           
Flag Coverage Δ
reportlettests ∅ <ø> (∅)
unittests ∅ <ø> (∅)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@effigies effigies merged commit f15c091 into nipreps:master Dec 6, 2023
26 checks passed
@tsalo tsalo deleted the nss-confounds-plot branch December 6, 2023 19:46
@effigies
Copy link
Member

@tsalo
Copy link
Contributor Author

tsalo commented Dec 11, 2023

Can do!

@tsalo
Copy link
Contributor Author

tsalo commented Dec 11, 2023

😱 I didn't actually use the parameter in this PR!!!

effigies pushed a commit to nipreps/fmriprep that referenced this pull request Dec 13, 2023
Closes #2614 and is related to
nipreps/niworkflows#843.

## Changes proposed in this pull request
- Feed `skip_vols` into confounds correlation plot. Since niworkflows is
pinned to `master` in `pyproject.toml`, the new parameter from
nipreps/niworkflows#843 can be used without
waiting for a niworkflows release.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants