8000 add contrast outputs for EstimatedModel by manuegrx · Pull Request #3577 · nipy/nipype · GitHub
[go: up one dir, main page]

Skip to content

add contrast outputs for EstimatedModel #3577

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

Merged
merged 2 commits into from
Jul 5, 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
fix typo
  • Loading branch information
manuegrx authored and effigies committed Jul 5, 2023
commit 1467f1c6f874bc5da1d4713df2dfb361a8a4cd2f
8 changes: 4 additions & 4 deletions nipype/interfaces/spm/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,17 +349,17 @@ def _list_outputs(self):

if contrast:
outputs["con_images"] = [
(os.path.join(pth, cont) for cont in contrast if 'con' in cont)
os.path.join(pth, cont) for cont in contrast if 'con' in cont
]
outputs["ess_images"] = [
(os.path.join(pth, cont) for cont in contrast if 'ess' in cont)
os.path.join(pth, cont) for cont in contrast if 'ess' in cont
]
if contrast_spm:
outputs["spmT_images"] = [
(os.path.join(pth, cont) for cont in contrast_spm if 'spmT' in cont)
os.path.join(pth, cont) for cont in contrast_spm if 'spmT' in cont
]
outputs["spmF_images"] = [
(os.path.join(pth, cont) for cont in contrast_spm if 'spmF' in cont)
os.path.join(pth, cont) for cont in contrast_spm if 'spmF' in cont
]

outputs["mask_image"] = os.path.join(pth, f"mask.{outtype}")
Expand Down
0