Skip to content

Commit 81e90c3

Browse files
authored
Merge pull request #89 from naveau/bids-sequenceName
Add SequenceName BIDS entry
2 parents 9c29ed6 + 27a572d commit 81e90c3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

console/nii_dicom_batch.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,8 @@ void nii_SaveBIDS(char pathoutname[], struct TDICOMdata d, struct TDCMopts opts,
365365
fprintf(fp, "\t\"ProcedureStepDescription\": \"%s\",\n", d.procedureStepDescription );
366366
if (strlen(d.protocolName) > 0)
367367
fprintf(fp, "\t\"ProtocolName\": \"%s\",\n", d.protocolName );
368+
if (strlen(d.sequenceName) > 0)
369+
fprintf(fp, "\t\"SequenceName\": \"%s\",\n", d.sequenceName );
368370
if (strlen(d.imageType) > 0) {
369371
fprintf(fp, "\t\"ImageType\": [\"");
370372
bool isSep = false;

0 commit comments

Comments
 (0)