Skip to content

Commit c3182d2

Browse files
Fix fine tuning arguments order
Previously the argument were given in a wrong order.
1 parent 466d640 commit c3182d2

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

nipype/interfaces/meshfix.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,23 +101,27 @@ class MeshFixInputSpec(CommandLineInputSpec):
101101

102102
finetuning_inwards = traits.Bool(
103103
argstr='--fineTuneIn ',
104-
requires=['finetuning_distance', 'finetuning_substeps'])
104+
requires=['finetuning_distance', 'finetuning_substeps'],
105+
position=-3
106+
)
105107
finetuning_outwards = traits.Bool(
106108
argstr='--fineTuneOut ',
107109
requires=['finetuning_distance', 'finetuning_substeps'],
110+
position=-3,
108111
xor=['finetuning_inwards'],
109-
desc=
110-
'Similar to finetuning_inwards, but ensures minimal distance in the other direction'
112+
desc='Similar to finetuning_inwards, but ensures minimal distance in the other direction'
111113
)
112114
finetuning_distance = traits.Float(
113115
argstr='%f',
114116
requires=['finetuning_substeps'],
117+
position=-2,
115118
desc="Used to fine-tune the minimal distance between surfaces."
116119
"A minimal distance d is ensured, and reached in n substeps. When using the surfaces for subsequent volume meshing by gmsh, this step prevent too flat tetrahedra2)"
117120
)
118121
finetuning_substeps = traits.Int(
119122
argstr='%d',
120123
requires=['finetuning_distance'],
124+
position=-1,
121125
desc="Used to fine-tune the minimal distance between surfaces."
122126
"A minimal distance d is ensured, and reached in n substeps. When using the surfaces for subsequent volume meshing by gmsh, this step prevent too flat tetrahedra2)"
123127
)

0 commit comments

Comments
 (0)