[Insight-developers] Patch for MetaIO bug 9320
Bradley Lowekamp
blowekamp at mail.nih.gov
Sun Nov 15 12:58:33 EST 2009
There are a couple of small problems that I have found with this patch which causes metaImage to produce the following error message:
"MetaImage: M_ReadElementsData: data not read completely"
This message is being incorrectly reported. The data should be correctly written. I see the problem and will have another patch for the patch tomorrow after some more testing.
Brad
On Nov 12, 2009, at 11:22 AM, Lowekamp, Bradley (NIH/NLM/LHC) [C] wrote:
> Hello,
>
> I have attached a patch for the following bug ( which is really an OSX bug ) for metaIO:
>
> http://www.itk.org/Bug/view.php?id=9320
>
>
> I added a method M_ReadElementData using it where appropriate, and improved error checking in M_WriteElemenData as well. These two methods now have read/write loops for chucks no bigger then 1GB defined by MaxIOChunk.
>
> I also added a couple comments for existing code that looked like it shouldn't work.
>
> ITK does not use streaming of ASCII or compressed data, so I was unable to test that part. I also don't think all of that code always produces expected results. Are there any existing tests for this code?
>
> Brad
>
> ========================================================
> Bradley Lowekamp
> Lockheed Martin Contractor for
> Office of High Performance Computing and Communications
> National Library of Medicine
> blowekamp at mail.nih.gov
>
>
> <ATT00001..txt>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20091115/73a0bc95/attachment.htm>
More information about the Insight-developers
mailing list