File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -206,7 +206,6 @@ def _list_outputs(self):
206
206
resliced_mean = self .inputs .write_which [1 ] > 0
207
207
if isdefined (self .inputs .in_files ):
208
208
outputs ['realignment_parameters' ] = []
209
- outputs ['in_files' ] = self .inputs .in_files
210
209
for imgf in self .inputs .in_files :
211
210
if isinstance (imgf , list ):
212
211
tmp_imgf = imgf [0 ]
@@ -218,6 +217,8 @@ def _list_outputs(self):
218
217
use_ext = False ))
219
218
if not isinstance (imgf , list ) and func_is_3d (imgf ):
220
219
break
220
+ if self .inputs .jobtype = "estimate" or self .inputs .jobtype = "estwrite" :
221
+ outputs ['in_files' ] = self .inputs .in_files
221
222
if self .inputs .jobtype == "write" or self .inputs .jobtype == "estwrite" :
222
223
if isinstance (self .inputs .in_files [0 ], list ):
223
224
first_image = self .inputs .in_files [0 ][0 ]
You can’t perform that action at this time.
0 commit comments