Skip to content

ENH Expand spm interface thresholding options #3333

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
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
Merge branch 'master' into expand_spm_functionalities
  • Loading branch information
ldeangelisphys authored May 4, 2021
commit 11f13ae25a80f92c54e47c2170cf8287db85de3a
8 changes: 1 addition & 7 deletions nipype/interfaces/spm/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -575,13 +575,6 @@ class ThresholdInputSpec(SPMCommandInputSpec):
stat_image = File(exists=True, desc="stat image", copyfile=False, mandatory=True)
contrast_index = traits.Int(
mandatory=True, desc='which contrast in the SPM.mat to use')
# use_fwe_correction = traits.Bool(
# True,
# usedefault=True,
# desc=('whether to use FWE (Bonferroni) '
# 'correction for initial threshold '
# '(height_threshold_type has to be '
# 'set to p-value)'))
multitest_correction = traits.Enum(
'none',
'FWE',
Expand Down Expand Up @@ -833,6 +826,7 @@ def aggregate_outputs(self, runtime=None):
elif line.startswith("FDRc = "):
setattr(outputs, 'FDRc',
float(line[len("FDRc = "):].strip()))

return outputs

def _list_outputs(self):
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.