Commit de078f6
committed
fix: for .PAR headers, avoid the assumption of 4D shape in get_bvals_vecs
For example, post-processed ADC maps will be marked as diffusion scans but only have 3D
data. The b-values and vectors from the original scan are not available in the header in
this case.1 parent d5494f3 commit de078f6
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
784 | 784 | | |
785 | 785 | | |
786 | 786 | | |
787 | | - | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
788 | 794 | | |
789 | 795 | | |
790 | 796 | | |
| |||
0 commit comments