Hi,
my acq. params file looks like
0 -1 0 0.0476
0 1 0 0.0476
which causes problems for eddy_quad:
Traceback (most recent call last):
File "/usr/local/fsl/bin/eddy_quad", line 52, in <module>
main(args.eddyBase, args.eddyIdx, args.eddyParams, args.mask,
args.bvals, args.bvecs, args.output_dir, args.field, args.slspec,
args.verbose)
File "/usr/local/fsl/fslpython/envs/fslpython/lib/python3.6/site-
packages/eddy_qc/QUAD/quad.py", line 70, in main
eddyPara = np.genfromtxt(eddyParams, dtype=float, delimiter=' ')
File "/home/cr/.local/lib/python3.6/site-
packages/numpy/lib/npyio.py", line 2019, in genfromtxt
raise ValueError(errmsg)
ValueError: Some errors were detected !
Line #2 (got 5 columns instead of 4)
Replacing the two blanks in the 2nd line by one resolves the problem,
probably caused by a ().split(' ') and not testing for empty results...
Regards,
Christina Roßmanith
########################################################################
To unsubscribe from the FSL list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=FSL&A=1
|