From: Darren K. <dke...@ya...> - 2008-03-04 13:00:52
|
Hi all, I believe that we (Matt, Josh, and I) were thinking of 'nativeID' as an attribute of <spectrum>, not <scan>, since that is what the <offset> refers to: <spectrum index=0 id="S19" nativeID="19"> <offset id="S19" nativeID="19">1234</offset> This nativeID can refer to a scan number (which can even be a cvParam in <scan>), or to acquisition numbers, depending on where the data array is coming from. I think Fredrik's idea of establishing a standard format with regex checking is a good one. I also think it's a bad idea to have the <spectrum> 'index' attribute be anything other than a zero-based index, and not just because it would offend my sense of computational morality ;) Having a 1-based index will definitely cause some bugs at some point in some software in the future, not to mention the grief it will cause the poor grad student who overlooks this fact and is up into the night debugging some script... I don't have any love for the traditional scan number, and 'nativeID' is enough backward compatibility for me. Darren |