Skip to content

Commit

Permalink
FIX: IntraModalMerge - Undefined input name used in _run_interfac…
Browse files Browse the repository at this point in the history
…e [skip ci]

Introduced in nipreps#441.
  • Loading branch information
oesteban committed Dec 18, 2019
1 parent 4b310a1 commit 0abebba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion niworkflows/interfaces/images.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def _run_interface(self, runtime):

hmcdata = filenii.get_fdata(dtype='float32')
if self.inputs.grand_mean_scaling:
if not isdefined(self.inputs.mask):
if not isdefined(self.inputs.in_mask):
mean = np.median(hmcdata, axis=-1)
thres = np.percentile(mean, 25)
mask = mean > thres
Expand Down

0 comments on commit 0abebba

Please sign in to comment.