@@ -96,8 +96,8 @@ def _list_outputs(self):
9696 outputs = self .output_spec ().get ()
9797 for k in list (outputs .keys ()):
9898 if k not in ('outputtype' , 'environ' , 'args' ):
99- if k != 'tensor' or (isdefined (self .inputs .save_tensor )
100- and self .inputs .save_tensor ):
99+ if k != 'tensor' or (isdefined (self .inputs .save_tensor ) and
100+ self .inputs .save_tensor ):
101101 outputs [k ] = self ._gen_fname (self .inputs .base_name , suffix = '_' + k )
102102 return outputs
103103
@@ -623,27 +623,27 @@ def _list_outputs(self):
623623 outputs [k ] = []
624624
625625 for n in range (self .inputs .fibres ):
626- outputs ['merged_thsamples' ].append (self ._gen_fname ('merged_th' + repr ( n + 1 )
627- + 'samples' , suffix = ' ' ,
628- cwd = outputs ['bpx_out_directory' ]))
629- outputs ['merged_phsamples' ].append (self ._gen_fname ('merged_ph' + repr ( n + 1 )
630- + 'samples' , suffix = ' ' ,
631- cwd = outputs ['bpx_out_directory' ]))
632- outputs ['merged_fsamples' ].append (self ._gen_fname ('merged_f' + repr ( n + 1 )
633- + 'samples' , suffix = ' ' ,
634- cwd = outputs ['bpx_out_directory' ]))
635- outputs ['mean_thsamples' ].append (self ._gen_fname ('mean_th' + repr ( n + 1 )
636- + 'samples' , suffix = ' ' ,
637- cwd = outputs ['bpx_out_directory' ]))
638- outputs ['mean_phsamples' ].append (self ._gen_fname ('mean_ph' + repr ( n + 1 )
639- + 'samples' , suffix = ' ' ,
640- cwd = outputs ['bpx_out_directory' ]))
641- outputs ['mean_fsamples' ].append (self ._gen_fname ('mean_f' + repr ( n + 1 )
642- + 'samples' , suffix = ' ' ,
643- cwd = outputs ['bpx_out_directory' ]))
644- outputs ['dyads' ].append (self ._gen_fname ('dyads' + repr ( n + 1 ),
645- suffix = '' ,
646- cwd = outputs ['bpx_out_directory' ]))
626+ outputs ['merged_thsamples' ].append (self ._gen_fname (
627+ 'merged_th' + repr ( n + 1 ) + 'samples' ,
628+ suffix = '' , cwd = outputs ['bpx_out_directory' ]))
629+ outputs ['merged_phsamples' ].append (self ._gen_fname (
630+ 'merged_ph' + repr ( n + 1 ) + 'samples' ,
631+ suffix = '' , cwd = outputs ['bpx_out_directory' ]))
632+ outputs ['merged_fsamples' ].append (self ._gen_fname (
633+ 'merged_f' + repr ( n + 1 ) + 'samples' ,
634+ suffix = '' , cwd = outputs ['bpx_out_directory' ]))
635+ outputs ['mean_thsamples' ].append (self ._gen_fname (
636+ 'mean_th' + repr ( n + 1 ) + 'samples' ,
637+ suffix = '' , cwd = outputs ['bpx_out_directory' ]))
638+ outputs ['mean_phsamples' ].append (self ._gen_fname (
639+ 'mean_ph' + repr ( n + 1 ) + 'samples' ,
640+ suffix = '' , cwd = outputs ['bpx_out_directory' ]))
641+ outputs ['mean_fsamples' ].append (self ._gen_fname (
642+ 'mean_f' + repr ( n + 1 ) + 'samples' ,
643+ suffix = '' , cwd = outputs ['bpx_out_directory' ]))
644+ outputs ['dyads' ].append (self ._gen_fname (
645+ 'dyads' + repr ( n + 1 ) ,
646+ suffix = '' , cwd = outputs ['bpx_out_directory' ]))
647647 return outputs
648648
649649
@@ -735,8 +735,8 @@ class ProbTrackXBaseInputSpec(FSLCommandInputSpec):
735735
736736class ProbTrackXInputSpec (ProbTrackXBaseInputSpec ):
737737 mode = traits .Enum ("simple" , "two_mask_symm" , "seedmask" ,
738- desc = 'options: simple (single seed voxel), seedmask (mask of seed voxels), '
739- + 'twomask_symm (two bet binary masks) ' ,
738+ desc = 'options: simple (single seed voxel), seedmask (mask of seed voxels), ' +
739+ 'twomask_symm (two bet binary masks) ' ,
740740 argstr = '--mode=%s' , genfile = True )
741741 mask2 = File (exists = True , desc = 'second bet binary mask (in diffusion space) in twomask_symm mode' ,
742742 argstr = '--mask2=%s' )
0 commit comments