-
Notifications
You must be signed in to change notification settings - Fork 521
/
landmarkscompare.py
56 lines (45 loc) · 1.39 KB
/
landmarkscompare.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# -*- coding: utf-8 -*-
# -*- coding: utf8 -*-
"""Autogenerated file - DO NOT EDIT
If you spot a bug, please report it on the mailing list and/or change the generator."""
from nipype.interfaces.base import (
CommandLine,
CommandLineInputSpec,
SEMLikeCommandLine,
TraitedSpec,
File,
Directory,
traits,
isdefined,
InputMultiPath,
OutputMultiPath,
)
import os
class LandmarksCompareInputSpec(CommandLineInputSpec):
inputLandmarkFile1 = File(
desc="First input landmark file (.fcsv or .wts)",
exists=True,
argstr="--inputLandmarkFile1 %s",
)
inputLandmarkFile2 = File(
desc="Second input landmark file (.fcsv or .wts)",
exists=True,
argstr="--inputLandmarkFile2 %s",
)
tolerance = traits.Float(
desc="The maximum error (in mm) allowed in each direction of a landmark",
argstr="--tolerance %f",
)
class LandmarksCompareOutputSpec(TraitedSpec):
pass
class LandmarksCompare(SEMLikeCommandLine):
"""title: Compare Fiducials
category: Testing
description: Compares two .fcsv or .wts text files and verifies that they are identicle. Used for testing landmarks files.
contributor: Ali Ghayoor
"""
input_spec = LandmarksCompareInputSpec
output_spec = LandmarksCompareOutputSpec
_cmd = " LandmarksCompare "
_outputs_filenames = {}
_redirect_x = False