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

add MAGNITUDE to ImageType for GE data #826

Merged
merged 1 commit into from
Jul 24, 2024

Conversation

bpinsard
Copy link

That change is necessary for heudiconv logic in heudiconv.convert.update_complex_name triggering RuntimeError("Data type could not be inferred from the metadata.").

https://github.com/nipy/heudiconv/blob/68231ef2dc9bfc603c2f925c3ec00c98dd6681b4/heudiconv/convert.py#L334-L340

Otherwise, it would require heudiconv to assume MAGNITUDE by default, while we reliably have that information from the dicoms at the conversion stage.

@neurolabusc
Copy link
Collaborator

@bpinsard the master branch is the last stable release and does not accept pull requests. You must make PRs to the development branch.

@bpinsard bpinsard changed the base branch from master to development May 31, 2024 00:16
@bpinsard
Copy link
Author

Sorry I forgot the git-flow, rebased and move it to development.

@neurolabusc neurolabusc merged commit 6978699 into rordenlab:development Jul 24, 2024
1 check passed
@bpinsard bpinsard deleted the fix/ge_magnitude branch July 25, 2024 18:40
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.

2 participants