Skip to content

Commit 0c009ff

Browse files
authored
Merge pull request #2757 from effigies/fix/meshfix_typo
FIX: VRML typo (VMRL) in MeshFix
2 parents 2995ded + fa72e02 commit 0c009ff

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

nipype/interfaces/meshfix.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ class MeshFixInputSpec(CommandLineInputSpec):
3838
dont_clean = traits.Bool(argstr='--no-clean', desc="Don't Clean")
3939

4040
save_as_stl = traits.Bool(
41-
xor=['save_as_vmrl', 'save_as_freesurfer_mesh'],
41+
xor=['save_as_vrml', 'save_as_freesurfer_mesh'],
4242
argstr='--stl',
4343
desc="Result is saved in stereolithographic format (.stl)")
44-
save_as_vmrl = traits.Bool(
44+
save_as_vrml = traits.Bool(
4545
argstr='--wrl',
4646
xor=['save_as_stl', 'save_as_freesurfer_mesh'],
4747
desc="Result is saved in VRML1.0 format (.wrl)")
@@ -210,7 +210,7 @@ def _gen_outfilename(self):
210210
if self.inputs.save_as_stl or self.inputs.output_type == 'stl':
211211
self.inputs.output_type = 'stl'
212212
self.inputs.save_as_stl = True
213-
if self.inputs.save_as_vmrl or self.inputs.output_type == 'vmrl':
214-
self.inputs.output_type = 'vmrl'
215-
self.inputs.save_as_vmrl = True
213+
if self.inputs.save_as_vrml or self.inputs.output_type == 'vrml':
214+
self.inputs.output_type = 'vrml'
215+
self.inputs.save_as_vrml = True
216216
return name + '_fixed.' + self.inputs.output_type

nipype/interfaces/tests/test_auto_MeshFix.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ def test_MeshFix_inputs():
6767
),
6868
save_as_stl=dict(
6969
argstr='--stl',
70-
xor=['save_as_vmrl', 'save_as_freesurfer_mesh'],
70+
xor=['save_as_vrml', 'save_as_freesurfer_mesh'],
7171
),
72-
save_as_vmrl=dict(
72+
save_as_vrml=dict(
7373
argstr='--wrl',
7474
xor=['save_as_stl', 'save_as_freesurfer_mesh'],
7575
),

0 commit comments

Comments
 (0)