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

.par PhaseEncodingDirection #79

Closed
fliem opened this issue Jan 9, 2017 · 3 comments
Closed

.par PhaseEncodingDirection #79

fliem opened this issue Jan 9, 2017 · 3 comments

Comments

@fliem
Copy link

fliem commented Jan 9, 2017

I converted .par files with different PhaseEncodingDirection and saw that both BIDS sidecar files show "PhaseEncodingDirection": "i"
To my knowledge, .par files don't list PhaseEncodingDirection. Could you please remove the PhaseEncodingDirection entry from the .json file for conversion from .par files. Thanks

@neurolabusc
Copy link
Collaborator

Well spotted - issue was specific to the BIDS header (not the notes field of the NIfTI header). Please checked the updated code, which should omit PhaseEncodingDirection if unknown.

@jonclayden
Copy link
Collaborator

I think there may be a problem with the fix, because the new conditional statement inserted matches the one that it should be an alternative to (two lines earlier). Presumably one should test against 'R' and one against 'C'.

@neurolabusc
Copy link
Collaborator

Fixed. Also, effective echo spacing in BIDS now correctly is omitted if we can not calculate it due to unknown phase-encoding.

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

3 participants