Skip to content

Commit

Permalink
Merge pull request rordenlab#24 from neurolabusc/fix/bids_extension
Browse files Browse the repository at this point in the history
Fixed JSON sidecar filename extension
  • Loading branch information
neurolabusc committed May 31, 2016
2 parents 2b99053 + e33f2db commit 85582ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion console/nii_dicom_batch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ void nii_SaveBIDS(char pathoutname[], struct TDICOMdata d, struct TDCMopts opts,
if (!opts.isCreateBIDS) return;
char txtname[2048] = {""};
strcpy (txtname,pathoutname);
strcat (txtname,".bids");
strcat (txtname,".json");
//printf("Saving DTI %s\n",txtname);
FILE *fp = fopen(txtname, "w");
fprintf(fp, "{\n");
Expand Down

0 comments on commit 85582ca

Please sign in to comment.