Fix DynamicLabelsField parsing algorithm.
authorW. Trevor King <wking@tremily.us>
Mon, 20 Aug 2012 18:01:36 +0000 (14:01 -0400)
committerW. Trevor King <wking@tremily.us>
Mon, 20 Aug 2012 18:01:38 +0000 (14:01 -0400)
commit551d9bca2f161511b1b09afdbeabff86284cb371
tree376301090c2b77be00eaea8a4531f6a2d6360785
parent75ddaa018c55ef748898e9483240ab6f92a1bea3
Fix DynamicLabelsField parsing algorithm.

The old algorithm collapsed null bytes early on.  The new algorithm
keeps the null bytes until the 32-byte chunks have been read.

Parsing hooke/test/data/vclamp_mfp3d/Line0004Point0001.ibw with the
old algorithm gave labels as

  [[], ['RawDeflLVDT'], [], []]

The new algorithm gives

  [[], ['', 'Raw', 'Defl', 'LVDT'], [], []]
igor/binarywave.py