From 668b2784a7d8977ba8f80d45c152ea0165c171a0 Mon Sep 17 00:00:00 2001
From: Priscille
Date: Wed, 10 Jun 2020 22:27:45 +0200
Subject: [PATCH] STYLE: Modified final result filenames
---
pymialsrtk/pipelines/anatomical/srr.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/pymialsrtk/pipelines/anatomical/srr.py b/pymialsrtk/pipelines/anatomical/srr.py
index d8a664ca0..e0e3b7d3c 100644
--- a/pymialsrtk/pipelines/anatomical/srr.py
+++ b/pymialsrtk/pipelines/anatomical/srr.py
@@ -303,14 +303,14 @@ def create_workflow(bids_dir, process_dir, subject, p_stacksOrder, session=None,
if srID is None:
for stack in p_stacksOrder:
- print( sub_ses+'_run-'+str(stack)+'_T2w_nlm_uni_bcorr_histnorm.nii.gz', ' ---> ',sub_ses+'_run-'+str(stack)+'_T2w_preproc.nii.gz')
- substitutions.append( ( sub_ses+'_run-'+str(stack)+'_T2w_nlm_uni_bcorr_histnorm.nii.gz', sub_ses+'_run-'+str(stack)+'_T2w_preproc.nii.gz') )
+ print( sub_ses+'_run-'+str(stack)+'_T2w_nlm_uni_bcorr_histnorm.nii.gz', ' ---> ',sub_ses+'_run-'+str(stack)+'_desc-preproc_T2w.nii.gz')
+ substitutions.append( ( sub_ses+'_run-'+str(stack)+'_T2w_nlm_uni_bcorr_histnorm.nii.gz', sub_ses+'_run-'+str(stack)+'_desc-preproc_T2w.nii.gz') )
print( sub_ses+'_run-'+str(stack)+'_T2w_nlm_uni_bcorr_histnorm_transform_'+str(len(p_stacksOrder))+'V.txt', ' ---> ', sub_ses+'_run-'+str(stack)+'_T2w_from-origin_to-SDI_mode-image_xfm.txt')
substitutions.append( ( sub_ses+'_run-'+str(stack)+'_T2w_nlm_uni_bcorr_histnorm_transform_'+str(len(p_stacksOrder))+'V.txt', sub_ses+'_run-'+str(stack)+'_T2w_from-origin_to-SDI_mode-image_xfm.txt') )
- print( sub_ses+'_run-'+str(stack)+'_T2w_uni_bcorr_histnorm_LRmask.nii.gz', ' ---> ', sub_ses+'_run-'+str(stack)+'_T2w_desc-LRmask.nii.gz')
- substitutions.append( ( sub_ses+'_run-'+str(stack)+'_T2w_uni_bcorr_histnorm_LRmask.nii.gz', sub_ses+'_run-'+str(stack)+'_T2w_desc-LRmask.nii.gz') )
+ print( sub_ses+'_run-'+str(stack)+'_T2w_uni_bcorr_histnorm_LRmask.nii.gz', ' ---> ', sub_ses+'_run-'+str(stack)+'_desc-LRmask_T2w.nii.gz')
+ substitutions.append( ( sub_ses+'_run-'+str(stack)+'_T2w_uni_bcorr_histnorm_LRmask.nii.gz', sub_ses+'_run-'+str(stack)+'_desc-LRmask_T2w.nii.gz') )
print( 'SDI_'+sub_ses+'_'+str(len(p_stacksOrder))+'V_rad1.nii.gz', ' ---> ', sub_ses+'_rec-SDI_T2w.nii.gz')