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

ENH: Restore resampling to T1w target #3116

Merged
merged 19 commits into from
Oct 26, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
STY: Black
  • Loading branch information
effigies committed Oct 17, 2023
commit 8199d4633244615332369181f9ed5dfc5c266468
16 changes: 12 additions & 4 deletions fmriprep/interfaces/resampling.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ class ResampleSeriesInputSpec(TraitedSpec):
in_file = File(exists=True, mandatory=True, desc="3D or 4D image file to resample")
ref_file = File(exists=True, mandatory=True, desc="File to resample in_file to")
transforms = InputMultiObject(
File(exists=True), mandatory=True, desc="Transform files, from in_file to ref_file (image mode)"
File(exists=True),
mandatory=True,
desc="Transform files, from in_file to ref_file (image mode)",
)
inverse = InputMultiObject(
traits.Bool,
Expand Down Expand Up @@ -120,10 +122,16 @@ class ReconstructFieldmapInputSpec(TraitedSpec):
in_coeffs = InputMultiObject(
File(exists=True), mandatory=True, desc="SDCflows-style spline coefficient files"
)
target_ref_file = File(exists=True, mandatory=True, desc="Image to reconstruct the field in alignment with")
fmap_ref_file = File(exists=True, mandatory=True, desc="Reference file aligned with coefficients")
target_ref_file = File(
exists=True, mandatory=True, desc="Image to reconstruct the field in alignment with"
)
fmap_ref_file = File(
exists=True, mandatory=True, desc="Reference file aligned with coefficients"
)
transforms = InputMultiObject(
File(exists=True), mandatory=True, desc="Transform files, from in_file to ref_file (image mode)"
File(exists=True),
mandatory=True,
desc="Transform files, from in_file to ref_file (image mode)",
)
inverse = InputMultiObject(
traits.Bool,
Expand Down