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

address error, simple formatting #6

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

joshicola
Copy link
Member

The parrec.load(par_file, permit_truncated=True) command was failing when loading an image with multiple image orientations (e.g. axial, sagital, and coronal in one par/rec file).
Producing: nibabel.parrec.PARRECError: Varying slice orientation in image sequence ([2 2 2 3 3 3 1 1 1]). This is not suppported.
A combination of

parrec.parse_PAR_header
parrec.PARRECHeader

Resolves this issue.

@joshicola joshicola requested a review from lmperry April 16, 2020 03:35
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 this pull request may close these issues.

1 participant