@@ -1488,11 +1488,9 @@ class Randomise(FSLCommand):
1488
1488
def _list_outputs (self ):
1489
1489
outputs = self .output_spec ().get ()
1490
1490
outputs ['tstat_files' ] = glob (self ._gen_fname (\
1491
- '%s_tstat*.nii' % self .inputs .base_name ,
1492
- cwd = os .getcwd ()))
1491
+ '%s_tstat*.nii' % self .inputs .base_name ))
1493
1492
outputs ['fstat_files' ] = glob (self ._gen_fname (\
1494
- '%s_fstat*.nii' % self .inputs .base_name ,
1495
- cwd = os .getcwd ()))
1493
+ '%s_fstat*.nii' % self .inputs .base_name ))
1496
1494
prefix = False
1497
1495
if self .inputs .tfce or self .inputs .tfce2D :
1498
1496
prefix = 'tfce'
@@ -1504,17 +1502,12 @@ def _list_outputs(self):
1504
1502
prefix = 'clusterm'
1505
1503
if prefix :
1506
1504
outputs ['t_p_files' ] = glob (self ._gen_fname (\
1507
- '%s_%s_p_tstat*' % (self .inputs .base_name , prefix ),
1508
- cwd = os .getcwd ()))
1505
+ '%s_%s_p_tstat*' % (self .inputs .base_name , prefix )))
1509
1506
outputs ['t_corrected_p_files' ] = glob (self ._gen_fname (\
1510
- '%s_%s_corrp_tstat*.nii' % (self .inputs .base_name , prefix ),
1511
- cwd = os .getcwd ()))
1507
+ '%s_%s_corrp_tstat*.nii' % (self .inputs .base_name , prefix )))
1512
1508
1513
1509
outputs ['f_p_files' ] = glob (self ._gen_fname (\
1514
- '%s_%s_p_fstat*.nii' % (self .inputs .base_name , prefix ),
1515
- cwd = os .getcwd ()))
1510
+ '%s_%s_p_fstat*.nii' % (self .inputs .base_name , prefix )))
1516
1511
outputs ['f_corrected_p_files' ] = glob (self ._gen_fname (\
1517
- '%s_%s_corrp_fstat*.nii' % (self .inputs .base_name , prefix ),
1518
- cwd = os .getcwd ()))
1519
- print outputs
1512
+ '%s_%s_corrp_fstat*.nii' % (self .inputs .base_name , prefix )))
1520
1513
return outputs
0 commit comments