-
Notifications
You must be signed in to change notification settings - Fork 520
/
featurecreator.py
62 lines (46 loc) · 1.61 KB
/
featurecreator.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
57
58
59
60
61
62
# -*- 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."""
import os
from ..base import (
CommandLine,
CommandLineInputSpec,
SEMLikeCommandLine,
TraitedSpec,
File,
Directory,
traits,
isdefined,
InputMultiPath,
OutputMultiPath,
)
class GenerateCsfClippedFromClassifiedImageInputSpec(CommandLineInputSpec):
inputCassifiedVolume = File(
desc="Required: input tissue label image",
exists=True,
argstr="--inputCassifiedVolume %s",
)
outputVolume = traits.Either(
traits.Bool,
File(),
hash_files=False,
desc="Required: output image",
argstr="--outputVolume %s",
)
class GenerateCsfClippedFromClassifiedImageOutputSpec(TraitedSpec):
outputVolume = File(desc="Required: output image", exists=True)
class GenerateCsfClippedFromClassifiedImage(SEMLikeCommandLine):
"""title: GenerateCsfClippedFromClassifiedImage
category: FeatureCreator
description: Get the distance from a voxel to the nearest voxel of a given tissue type.
version: 0.1.0.$Revision: 1 $(alpha)
documentation-url: http:://www.na-mic.org/
license: https://www.nitrc.org/svn/brains/BuildScripts/trunk/License.txt
contributor: This tool was written by Hans J. Johnson.
"""
input_spec = GenerateCsfClippedFromClassifiedImageInputSpec
output_spec = GenerateCsfClippedFromClassifiedImageOutputSpec
_cmd = " GenerateCsfClippedFromClassifiedImage "
_outputs_filenames = {"outputVolume": "outputVolume.nii"}
_redirect_x = False