Dear Christina,
Thanks very much for flagging this.
I have now ran some tests and corrected it.
Cheers,
Matteo
> On 25 Jan 2019, at 09:55, Christina Roßmanith <[log in to unmask]> wrote:
>
> 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
########################################################################
To unsubscribe from the FSL list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=FSL&A=1
|