Page MenuHomePhabricator

bvals or bvecs files containing trailing whitespaces produce wrong diffusion gradients
Closed, ResolvedPublic

Description

bvals or bvecs files containing trailing whitespaces produce wrong diffusion gradients.

the trailing white space is converted into a b-value of zero,
which leads to more b values as the image actually contains components.

Event Timeline

User webechr has pushed new remote branch:

bug-19238-FixReadingDiffusionNifty

[59792d]: Merge branch 'bug-19238-FixReadingDiffusionNifty'

Merged commits:

2015-08-14 13:03:05 Christian Weber [00e92a]
remove control sequences from line inputs,
as those were interpreted as 0 values


2015-08-14 13:02:26 Christian Weber [2ee829]
Prevent crash of Preprocessing view when no data is loaded