Skip to content

Commit

Permalink
Merge pull request #866 from DimitriPapadopoulos/codespell
Browse files Browse the repository at this point in the history
Fix typo found by codespell
  • Loading branch information
neurolabusc authored Sep 26, 2024
2 parents 9f8b3b7 + fd87967 commit 035b36b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .codespellrc
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ skip = .git,*.json,dcm_qa*
# // the isotropic trace or MD can be calculated) often come as
# /*if (!dcmList[indx0].isDerived) //no need to warn if images are derived Trace/ND pair
# ser - used in printMessage(" acq %d img %d ser %ld ...
ignore-words-list = te,clen,tage,nd,ser,SPOFF
ignore-words-list = clen,hep,indx,nd,ser,spoff,tage,te
2 changes: 1 addition & 1 deletion console/nii_dicom.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3836,7 +3836,7 @@ unsigned char *nii_loadImgXL(char *imgname, struct nifti_1_header *hdr, struct T
if (dcm.CSA.mosaicSlices > 1) {
img = nii_demosaic(img, hdr, dcm.CSA.mosaicSlices, (dcm.manufacturer == kMANUFACTURER_UIH)); //, dcm.CSA.protocolSliceNumber1);
}
if ((dti4D == NULL) && (!dcm.isFloat) && (iVaries)) // must do afte
if ((dti4D == NULL) && (!dcm.isFloat) && (iVaries)) // must do after
img = nii_iVaries(img, hdr, NULL);
int nAcq = dcm.locationsInAcquisition;
if ((nAcq > 1) && (hdr->dim[0] < 4) && ((hdr->dim[3] % nAcq) == 0) && (hdr->dim[3] > nAcq)) {
Expand Down

0 comments on commit 035b36b

Please sign in to comment.