Skip to content

Commit

Permalink
fixed spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgorgo committed May 31, 2016
1 parent 5273351 commit d86601b
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions console/nii_dicom_batch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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]);
}
Expand Down

0 comments on commit d86601b

Please sign in to comment.