File tree 2 files changed +6
-10
lines changed
2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -16,13 +16,18 @@ def test_NwarpAdjust_inputs():
16
16
usedefault = True ,
17
17
),
18
18
in_files = dict (argstr = '-source %s' , ),
19
+ num_threads = dict (
20
+ nohash = True ,
21
+ usedefault = True ,
22
+ ),
19
23
out_file = dict (
20
24
argstr = '-prefix %s' ,
21
25
keep_extension = True ,
22
26
name_source = 'in_files' ,
23
27
name_template = '%s_NwarpAdjust' ,
24
28
requires = ['in_files' ],
25
29
),
30
+ outputtype = dict (),
26
31
terminal_output = dict (
27
32
deprecated = '1.0.0' ,
28
33
nohash = True ,
Original file line number Diff line number Diff line change @@ -1511,7 +1511,7 @@ def _list_outputs(self):
1511
1511
return outputs
1512
1512
1513
1513
1514
- class NwarpAdjustInputSpec (CommandLineInputSpec ):
1514
+ class NwarpAdjustInputSpec (AFNICommandInputSpec ):
1515
1515
warps = InputMultiPath (
1516
1516
File (exists = True ),
1517
1517
minlen = 5 ,
@@ -1569,17 +1569,9 @@ def _parse_inputs(self, skip=None):
1569
1569
skip += ['out_file' ]
1570
1570
return super (NwarpAdjust , self )._parse_inputs (skip = skip )
1571
1571
1572
- def _gen_filename (self , name ):
1573
- if name == 'out_file' :
1574
- return self ._list_outputs ()[name ]
1575
- return None
1576
-
1577
1572
def _list_outputs (self ):
1578
1573
outputs = self .output_spec ().get ()
1579
1574
1580
- if self .inputs .out_file :
1581
- outputs ['out_file' ] = os .path .abspath (self .inputs .out_file )
1582
-
1583
1575
if self .inputs .in_files :
1584
1576
if self .inputs .out_file :
1585
1577
outputs ['out_file' ] = os .path .abspath (self .inputs .out_file )
@@ -1591,7 +1583,6 @@ def _list_outputs(self):
1591
1583
ext = ext2 + ext
1592
1584
outputs ['out_file' ] = os .path .abspath (
1593
1585
basename_noext + '_NwarpAdjust' + ext )
1594
-
1595
1586
return outputs
1596
1587
1597
1588
You can’t perform that action at this time.
0 commit comments