Skip to content

Commit

Permalink
Update dcm_qa submodule.
Browse files Browse the repository at this point in the history
  • Loading branch information
neurolabusc committed Oct 27, 2018
1 parent af1d53d commit da860f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion console/nii_dicom_batch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -980,7 +980,8 @@ void nii_SaveBIDS(char pathoutname[], struct TDICOMdata d, struct TDCMopts opts,
json_Str(fp, "\t\"ReceiveCoilActiveElements\": \"%s\",\n", d.coilElements);
if (strcmp(d.coilElements,d.coilName) != 0)
json_Str(fp, "\t\"CoilString\": \"%s\",\n", d.coilName);
if ((d.phaseEncodingLines > d.echoTrainLength) && (d.echoTrainLength > 0)) {
if ((d.phaseEncodingLines > d.echoTrainLength) && (d.echoTrainLength > 1)) {
//ETL is > 1, as some GE files list 1, as an example see series mr_0005 in dcm_qa_nih
float pf = (float)d.phaseEncodingLines;
if (d.accelFactPE > 1)
pf = (float)pf / (float)d.accelFactPE; //estimate: not sure if we round up or down
Expand Down

0 comments on commit da860f1

Please sign in to comment.