Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Fix corrupted raw nrrd file output on Windows" #842

Merged
merged 1 commit into from
Jul 31, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion console/nii_dicom_batch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1650,7 +1650,7 @@
if (d.diffCyclingModeGE == kGE_DIFF_CYCLING_3TR)
fprintf(fp, "\t\"DiffGradientCyclingGE\": \"3TR\",\n");
if (d.diffCyclingModeGE == kGE_DIFF_CYCLING_SPOFF)
fprintf(fp, "\t\"DiffGradientCyclingGE\": \"SPOFF\",\n");

Check failure on line 1653 in console/nii_dicom_batch.cpp

View workflow job for this annotation

GitHub Actions / Check for spelling errors

SPOFF ==> SPOOF, SPIFF, SPAFF, SCOFF
}
}
#ifdef myReadAsciiCsa
Expand Down Expand Up @@ -4266,7 +4266,7 @@
strcat(fname, ".nhdr"); //nrrd or nhdr
else
strcat(fname, ".nrrd"); //nrrd or nhdr
FILE *fp = fopen(fname, "wb");
FILE *fp = fopen(fname, "w");
fprintf(fp, "NRRD0005\n");
fprintf(fp, "# Complete NRRD file format specification at:\n");
fprintf(fp, "# http://teem.sourceforge.net/nrrd/format.html\n");
Expand Down
Loading