Skip to content

FIX: fix for some missed DTIs during dcm2niix conversion #2110

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

Merged
merged 1 commit into from
Jul 6, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion nipype/interfaces/dcm2nii.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ def _parse_stdout(self, stdout):
bvals.append(out_file + ".bval")
find_b = False
# next scan will have bvals/bvecs
elif 'DTI gradients' in line or 'DTI gradient directions' in line:
elif 'DTI gradients' in line or 'DTI gradient directions' in line or 'DTI vectors' in line:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@leej3 - i'm going to merge this in, but it would be good to submit an issue to dcm2niix to make this string uniform across scanners/dicoms.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@satra - Good point. Didn't even think of that. Will do. Thanks.

find_b = True
else:
pass
Expand Down