[Camino-users] Error at generating data

Philip A Cook cookpa at mail.med.upenn.edu
Thu Sep 29 08:13:47 PDT 2011


Hi all,

Andrés got this working on Linux, so it seems to be related to Windows, my guess is Windows newlines in the scheme file. If anyone else has this issue please send me example files and I will investigate further.



On Sep 26, 2011, at 12:51 PM, Andrés Méndez wrote:

> Hello everyone
> 
> I'm new to Camino. I have tried to install it under Windows 7, 64bits, using Cygwin. In order to try it I have decided to generate and visualize some synthetic DTI data following the instructions in the "sfplot" page (http://web4.cs.ucl.ac.uk/research/medic/camino/pmwiki/pmwiki.php?n=Man.Sfplot)
>  
> After generating the schemefile, I use the following command:
> 
>  datasynth -testfunc 1 -voxels 16 -snr 20 -schemefile A.scheme > test.Bfloat
> 
> And I get the following error:
> 
> Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0 >= 0
>         at java.util.Vector.elementAt(Unknown Source)
>         at imaging.DW_Scheme.readScheme(DW_Scheme.java:520)
>         at tools.CL_Initializer.initImagingScheme(CL_Initializer.java:1556)
>         at apps.SyntheticData.initOptions(SyntheticData.java:54)
>         at apps.Executable.<init>(Executable.java:24)
>         at apps.SyntheticData.<init>(SyntheticData.java:34)
>         at apps.EntryPoint.getExecutable(EntryPoint.java:210)
>         at apps.EntryPoint.main(EntryPoint.java:264)
> 
> 
> Which seems to be related to Java but I cannot figure why. Any idea?
> 
> Thanks in advance.
> 
> 
> Andrés M
> 
> _______________________________________________
> 
> _______________________________________________
> Camino-users mailing list
> Camino-users at www.nitrc.org
> http://www.nitrc.org/mailman/listinfo/camino-users



More information about the Camino-users mailing list