Skip to content

Commit e11a2e5

Browse files
committed
mask should be generated only from volume fractions
1 parent 354371c commit e11a2e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/interfaces/dipy/simulate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def _run_interface(self, runtime):
110110
total_vf = np.sum(vfs, axis=3)
111111

112112
msk = np.zeros(shape, dtype=np.uint8)
113-
msk[(total_vf > 0.0) & (total_ff > 0.0)] = 1
113+
msk[(total_vf > 0.0)] = 1
114114

115115
if isdefined(self.inputs.in_mask):
116116
msk = nb.load(self.inputs.in_mask).get_data()

0 commit comments

Comments
 (0)