From ba12725247c90dff16300bfd4920bd9c5474a06e Mon Sep 17 00:00:00 2001 From: sitek Date: Thu, 24 Aug 2017 15:55:00 -0400 Subject: [PATCH 1/2] updated target file for probtrackx2 outputs['network_matrix'] --- nipype/interfaces/fsl/dti.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nipype/interfaces/fsl/dti.py b/nipype/interfaces/fsl/dti.py index c514bd95f0..a9d00f52cd 100644 --- a/nipype/interfaces/fsl/dti.py +++ b/nipype/interfaces/fsl/dti.py @@ -797,7 +797,7 @@ def _list_outputs(self): if isdefined(self.inputs.omatrix1): outputs['network_matrix'] = os.path.abspath( - os.path.join(out_dir, 'fdt_network_matrix')) + os.path.join(out_dir, 'matrix_seeds_to_all_targets')) outputs['matrix1_dot'] = os.path.abspath( os.path.join(out_dir, 'fdt_matrix1.dot')) From 461720ace37761e7182b24edc81484a65a001a56 Mon Sep 17 00:00:00 2001 From: sitek Date: Thu, 24 Aug 2017 15:56:10 -0400 Subject: [PATCH 2/2] added probtrackx2 outputs['way_total'] --- nipype/interfaces/fsl/dti.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nipype/interfaces/fsl/dti.py b/nipype/interfaces/fsl/dti.py index a9d00f52cd..9d74a3fafe 100644 --- a/nipype/interfaces/fsl/dti.py +++ b/nipype/interfaces/fsl/dti.py @@ -795,6 +795,8 @@ def _list_outputs(self): else: out_dir = self.inputs.out_dir + outputs['way_total'] = os.path.abspath(os.path.join(out_dir, 'waytotal')) + if isdefined(self.inputs.omatrix1): outputs['network_matrix'] = os.path.abspath( os.path.join(out_dir, 'matrix_seeds_to_all_targets'))