Use an explicit .array attribute to determine if fields are arrays.
authorW. Trevor King <wking@tremily.us>
Sat, 21 Jul 2012 16:20:32 +0000 (12:20 -0400)
committerW. Trevor King <wking@tremily.us>
Sat, 21 Jul 2012 16:20:32 +0000 (12:20 -0400)
commit3ae7034c746b13a46b9e4523e35c45542cf59f32
treea5f4ffa697fec85e838265c716ed69b9b51cb4ec
parentb290d098fee408c7811a1afe507740d70f22f6c4
Use an explicit .array attribute to determine if fields are arrays.

This improves on the old method of assuming they were scalar if
.item_count was 1.
igor/binarywave.py
igor/record/variables.py
igor/struct.py