Improvements to the read_spin_data() function.
The data checks now occur during the yield loop. This allows for invalid lines to be skipped while those with real data are used.
Authored by: bugman 2009-10-08
Parent: [r9653]
Child: [r9655]