Thanks Tim.

Matt.

From: 
<[email protected]<mailto:[email protected]>>
 on behalf of "Timothy B. Brown" <[email protected]<mailto:[email protected]>>
Organization: Washington University in St. Louis
Date: Wednesday, October 19, 2016 at 3:25 PM
To: Keith Jamison <[email protected]<mailto:[email protected]>>, Antonin Skoch 
<[email protected]<mailto:[email protected]>>
Cc: HCP Users 
<[email protected]<mailto:[email protected]>>
Subject: Re: [HCP-Users] gradunwarp - "array index out of bounds" error in 
coef_file_parse routine


I have made this change and released version v1.0.3 of gradunwarp with this fix.

Thanks,

 Tim

On 10/17/2016 11:21 AM, Keith Jamison wrote:
That is the correct fix for this problem.  It has no side-effects. Some 
scanners (eg: Siemens 7T) have coefficients of even higher orders, so you can 
actually increase the siemens_cas to 100 or so to accommodate  the full range.  
That value just determines the preallocation, and the matrix is trimmed down to 
the maximum appropriate size after reading the file.

I think this is going to be fixed in the next release of gradunwarp (though 
when that will be...?)

-Keith

On Sat, Oct 15, 2016 at 1:14 PM, Antonin Skoch 
<[email protected]<mailto:[email protected]>> wrote:
Dear experts,

I have an issue with processing my data (acquired at Siemens Prisma 3T) by 
gradunwarp v1.0.2, downloaded from

https://github.com/Washington-University/gradunwarp/releases

It crashed with my coef.grad file by producing "array index out of bounds" 
error in coef_file_parse routine.

I managed to get it working by increasing siemens_cas=20 in core/globals.py

The corrected images look reasonable, with deformation going to maximum approx 
1-2 mm in off-isocenter regions.

Since I am not familiar with internals of gradunwarp, I would like to assure 
myself the routine with my modification works OK and there is no other unwanted 
consequence by increasing siemens_cas. Could you please comment on?

Regards,

Antonin Skoch



_______________________________________________
HCP-Users mailing list
[email protected]<mailto:[email protected]>
http://lists.humanconnectome.org/mailman/listinfo/hc p-users


_______________________________________________
HCP-Users mailing list
[email protected]<mailto:[email protected]>
http://lists.humanconnectome.org/mailman/listinfo/hcp-users

--
Timothy B. Brown
Business & Technology Application Analyst III
Pipeline Developer (Human Connectome Project)
tbbrown(at)wustl.edu
________________________________
The material in this message is private and may contain Protected Healthcare 
Information (PHI). If you are not the intended recipient, be advised that any 
unauthorized use, disclosure, copying or the taking of any action in reliance 
on the contents of this information is strictly prohibited. If you have 
received this email in error, please immediately notify the sender via 
telephone or return mail.

_______________________________________________
HCP-Users mailing list
[email protected]<mailto:[email protected]>
http://lists.humanconnectome.org/mailman/listinfo/hcp-users

________________________________
The materials in this message are private and may contain Protected Healthcare 
Information or other information of a sensitive nature. If you are not the 
intended recipient, be advised that any unauthorized use, disclosure, copying 
or the taking of any action in reliance on the contents of this information is 
strictly prohibited. If you have received this email in error, please 
immediately notify the sender via telephone or return mail.

_______________________________________________
HCP-Users mailing list
[email protected]
http://lists.humanconnectome.org/mailman/listinfo/hcp-users

Reply via email to