Skip to content

Message: Calculated shape does not match number of frames. #275

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

Closed
bmelo opened this issue Nov 13, 2018 · 2 comments · Fixed by nipy/nibabel#727
Closed

Message: Calculated shape does not match number of frames. #275

bmelo opened this issue Nov 13, 2018 · 2 comments · Fixed by nipy/nibabel#727

Comments

@bmelo
Copy link
Contributor

bmelo commented Nov 13, 2018

Hi,

I'm trying to convert into a BIDS hierarchy some diffusion images (4D) from Philips scanner with a trace volume. I couldn't find a way to use heudiconv with these images because it stops with the message:

nibabel.nicom.dicomwrappers.WrapperError: Calculated shape does not match number of frames.

I can convert the DCM files to NII.GZ without errors when using dcm2niix directly.

I have a phantom image to share, if it can help. The logs are below.

heudiconv.log
dcm2niix.log

Please, can you help me to understand how I can use heudiconv with these images?

@mgxd
Copy link
Member

mgxd commented Nov 13, 2018

@bmelo - thanks for the detailed report, I'd like to take a look at a phantom image if possible - if you wish to share via email, you can reach me at [email protected]

@bmelo
Copy link
Contributor Author

bmelo commented Nov 13, 2018

@mgxd thanks.

I sent the image by email.

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

Successfully merging a pull request may close this issue.

2 participants