From: simon a. \(BI\) <sim...@bb...> - 2005-08-22 15:07:58
|
I'm writing a viewer for mzData files and have come across a small problem where I'm not sure if it's me or the data files which are wrong. I'm decoding the Base64 data in the spectra and am using the myo_ms2.xml file from sourceforge as an example. However my parser is falling over on the following lines: <mzArrayBinary> <data precision=3D"32" endian=3D"little" = length=3D"0">AAAAAA=3D=3D</data> </mzArrayBinary> <intenArrayBinary> <data precision=3D"32" endian=3D"little" = length=3D"0">AAAAAA=3D=3D</data> </intenArrayBinary> In these cases the file specifies a length of 0, despite there being 1 value in the entry (albeit 0 and 0). Is this the correct way of denoting an empty spectrum, or should this file really quote a length of 1? Also whilst I'm asking - can anyone point me to a reference for the correct way to handle 64 bit precision data on a 32bit machine and vice versa? I'm kind of new to a lot of this low level binary stuff! Cheers Simon. --=20 Simon Andrews PhD Bioinformatics Dept The Babraham Institute sim...@bb... +44 (0)1223 496463 =20 |