From fa72e024db60dc9659039525ea68c2ee94458173 Mon Sep 17 00:00:00 2001 From: "Christopher J. Markiewicz" Date: Thu, 25 Oct 2018 14:10:23 -0400 Subject: [PATCH] FIX: VRML typo (VMRL) in MeshFix --- nipype/interfaces/meshfix.py | 10 +++++----- nipype/interfaces/tests/test_auto_MeshFix.py | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/nipype/interfaces/meshfix.py b/nipype/interfaces/meshfix.py index 4b9db519a9..02a0db4031 100644 --- a/nipype/interfaces/meshfix.py +++ b/nipype/interfaces/meshfix.py @@ -38,10 +38,10 @@ class MeshFixInputSpec(CommandLineInputSpec): dont_clean = traits.Bool(argstr='--no-clean', desc="Don't Clean") save_as_stl = traits.Bool( - xor=['save_as_vmrl', 'save_as_freesurfer_mesh'], + xor=['save_as_vrml', 'save_as_freesurfer_mesh'], argstr='--stl', desc="Result is saved in stereolithographic format (.stl)") - save_as_vmrl = traits.Bool( + save_as_vrml = traits.Bool( argstr='--wrl', xor=['save_as_stl', 'save_as_freesurfer_mesh'], desc="Result is saved in VRML1.0 format (.wrl)") @@ -210,7 +210,7 @@ def _gen_outfilename(self): if self.inputs.save_as_stl or self.inputs.output_type == 'stl': self.inputs.output_type = 'stl' self.inputs.save_as_stl = True - if self.inputs.save_as_vmrl or self.inputs.output_type == 'vmrl': - self.inputs.output_type = 'vmrl' - self.inputs.save_as_vmrl = True + if self.inputs.save_as_vrml or self.inputs.output_type == 'vrml': + self.inputs.output_type = 'vrml' + self.inputs.save_as_vrml = True return name + '_fixed.' + self.inputs.output_type diff --git a/nipype/interfaces/tests/test_auto_MeshFix.py b/nipype/interfaces/tests/test_auto_MeshFix.py index 3cc1541d6d..9f50145ba2 100644 --- a/nipype/interfaces/tests/test_auto_MeshFix.py +++ b/nipype/interfaces/tests/test_auto_MeshFix.py @@ -67,9 +67,9 @@ def test_MeshFix_inputs(): ), save_as_stl=dict( argstr='--stl', - xor=['save_as_vmrl', 'save_as_freesurfer_mesh'], + xor=['save_as_vrml', 'save_as_freesurfer_mesh'], ), - save_as_vmrl=dict( + save_as_vrml=dict( argstr='--wrl', xor=['save_as_stl', 'save_as_freesurfer_mesh'], ),