These fixes have been fixed! Thanks Anthony!


On Wed, Jan 23, 2013 at 1:34 PM, Anthony Scopatz
<notifications@github.com>wrote:

> In pyne/endf.py:
>
> > +                                                'NMOD': header[5],
> > +                                                'ELIS': header[6],
> > +                                                'STA': header[7],
> > +                                                'LIS': header[8],
> > +                                                'LIS0': header[9],
> > +                                                'NFOR': header[11],
> > +                                                'AWI': header[12],
> > +                                                'EMAX': header[13],
> > +                                                'LREL': header[14],
> > +                                                'NSUB': header[16],
> > +                                                'NVER': header[17],
> > +                                                'TEMP': header[18],
> > +                                                'LDRV': header[20],
> > +                                                'NWD': header[22],
> > +                                                'NXC': header[23]}})
> > +
>
> Actually I missed that this skips an index or two. A better way might be
> this then
>
> header = self.read_mfmt(mat_id, 1, 451)
> flagkeys = ['ZA', 'AWR', 'LRP', 'LFI', 'NLIB', 'NMOD', 'ELIS', 'STA', 'LIS', 'LIS0', None, 'NFOR',
>             'AWI', 'EMAX', 'LREL', None, 'NSUB', 'NVER', 'TEMP', None, 'LDRV', 'NWD', 'NXC']self.structure[mat_id].update({'flags': dict(zip(flagkeys, header[:len(flagkeys)]))})del self.structure[mat_id]['flags'][None]
>
>  —
> Reply to this email directly or view it on GitHub<https://github.com/pyne/pyne/pull/109/files#r2747391>.
>
>