<div dir="ltr">I double-checked that I was using an updated version (r-1205), and tried running it again with image2voxel (which I realized is actually the correct command for what I want to do), but got the same error.<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 13, 2013 at 1:33 PM, Philip A Cook <span dir="ltr"><<a href="mailto:cookpa@mail.med.upenn.edu" target="_blank">cookpa@mail.med.upenn.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
The line numbers in the exception aren't lining up for me so I suspect you have an older version of the code. Updating might help. There might be some counter in the NIfTI class that is overflowing. I've redone a bunch of that code in the current version, so maybe it will work now. If that's not an option I can check out the version you have, if you can tell me the revision number.<br>
<div><div class="h5"><br>
<br>
On May 13, 2013, at 2:16 PM, Elizabeth Zakszewski wrote:<br>
<br>
> Hello,<br>
><br>
> I have a DWI .nii file that is 3.4G. I had to increase the Java heap size in niftidt2camino to 50G in order to get it to run (our server should be able to handle 96G). But the conversion still terminates with the following error:<br>
><br>
> NIFTI to CAMINO, this wil convert the data from scanner order to voxel order<br>
> May 13, 2013 1:06:38 PM misc.LoggedException logException<br>
> SEVERE: Exception in thread "main" class misc.LoggedException: java.io.IOException: Negative seek offset<br>
> at imaging.Nifti1Dataset.getImageDataSource(Nifti1Dataset.java:2608)<br>
> at apps.DT_ToCamino.main(DT_ToCamino.java:82)<br>
><br>
> Exception in thread "main" misc.LoggedException: java.io.IOException: Negative seek offset<br>
> at imaging.Nifti1Dataset.getImageDataSource(Nifti1Dataset.java:2608)<br>
> at apps.DT_ToCamino.main(DT_ToCamino.java:82)<br>
> Caused by: java.io.IOException: Negative seek offset<br>
> at java.io.RandomAccessFile.seek(Native Method)<br>
> at imaging.Nifti1Dataset.readVolBlob(Nifti1Dataset.java:2177)<br>
> at imaging.Nifti1Dataset.readDoubleVol(Nifti1Dataset.java:1912)<br>
> at imaging.Nifti1Dataset.getImageDataSource(Nifti1Dataset.java:2591)<br>
> ... 1 more<br>
><br>
><br>
> We have never seen a Negative seek offset error before and aren't sure how to troubleshoot. Is there a way to correct this, or a better way to convert a large file?<br>
><br>
> Thanks,<br>
> Liz<br>
</div></div>> _______________________________________________<br>
> Camino-users mailing list<br>
> <a href="mailto:Camino-users@www.nitrc.org">Camino-users@www.nitrc.org</a><br>
> <a href="http://www.nitrc.org/mailman/listinfo/camino-users" target="_blank">http://www.nitrc.org/mailman/listinfo/camino-users</a><br>
<br>
</blockquote></div><br></div>