From d86601bee7c929bb40fe01f2b892213f9041f62f Mon Sep 17 00:00:00 2001 From: Chris Gorgolewski Date: Tue, 31 May 2016 11:35:37 -0700 Subject: [PATCH] fixed spaces --- console/nii_dicom_batch.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/console/nii_dicom_batch.cpp b/console/nii_dicom_batch.cpp index 6a208072..ce085947 100755 --- a/console/nii_dicom_batch.cpp +++ b/console/nii_dicom_batch.cpp @@ -516,11 +516,11 @@ int nii_SaveDTI(char pathoutname[],int nConvert, struct TDCMsort dcmSort[],struc return numFinalADC; } for (int i = 0; i < (numDti-1); i++) { - if (opts.isCreateBIDS) { - fprintf(fp, "%g ", vx[i].V[0]); - } else { - fprintf(fp, "%g\t", vx[i].V[0]); - } + if (opts.isCreateBIDS) { + fprintf(fp, "%g ", vx[i].V[0]); + } else { + fprintf(fp, "%g\t", vx[i].V[0]); + } } fprintf(fp, "%g\n", vx[numDti-1].V[0]); fclose(fp); @@ -534,11 +534,11 @@ int nii_SaveDTI(char pathoutname[],int nConvert, struct TDCMsort dcmSort[],struc } for (int v = 1; v < 4; v++) { for (int i = 0; i < (numDti-1); i++) { - if (opts.isCreateBIDS) { - fprintf(fp, "%g ", vx[i].V[v]); - } else { - fprintf(fp, "%g\t", vx[i].V[v]); - } + if (opts.isCreateBIDS) { + fprintf(fp, "%g ", vx[i].V[v]); + } else { + fprintf(fp, "%g\t", vx[i].V[v]); + } } fprintf(fp, "%g\n", vx[numDti-1].V[v]); }