Skip to content

Commit d630f97

Browse files
committed
save_glyph should be False by default
1 parent 1ed1a67 commit d630f97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nipype/interfaces/dipy/reconstruction.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ class EstimateResponseSHInputSpec(DipyBaseInterfaceInputSpec):
163163
exists=True, desc=('input mask in which we find single fibers'))
164164
fa_thresh = traits.Float(
165165
0.7, usedefault=True, desc=('default FA threshold'))
166-
save_glyph = traits.Bool(True, mandatory=True, usedefault=True,
166+
save_glyph = traits.Bool(False, usedefault=True,
167167
desc=('save a png file of the response'))
168168
response = File(desc=('the output response file'))
169169

@@ -236,7 +236,7 @@ def _run_interface(self, runtime):
236236
np.savetxt(self._gen_outname(),
237237
np.array(respev.tolist() + [S0]).reshape(-1))
238238

239-
if isdefined(self.inputs.save_glyph) and self.inputs.save_glyph:
239+
if self.inputs.save_glyph:
240240
from dipy.viz import fvtk
241241
from dipy.data import get_sphere
242242
from dipy.sims.voxel import single_tensor_odf

0 commit comments

Comments
 (0)