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

Bug when incosistencies in dicom data #66

Open
mabelzunce opened this issue May 28, 2024 · 1 comment
Open

Bug when incosistencies in dicom data #66

mabelzunce opened this issue May 28, 2024 · 1 comment

Comments

@mabelzunce
Copy link

In dicm2nii.m (line 449) says that the full header needs to be regenerated but the s.isEnh is not initialized and therefore fails in line 484.
I solved this by adding:
s.isEnh = isfield(s, 'PerFrameFunctionalGroupsSequence');
in line 451, similar to line 420. But not sure if this is correct.

@xiangruili
Copy link
Owner

Thanks for catching the bug. I just fixed it as you suggested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants