daler/pybedtools — pull request #61 by libor-m (2012-03-29 17:36:20+00:00)
Title: Gff attributes improvments

Removed the `parse_attributes` function, so the gff attribute parsing code is present only once. Now the attributes interface consists only of the `Attributes` class (constructed with string argument for parsing, using `str()` to deparse).

Changed the interns of `Interval` to use 'lazy deparsing' for the attributes -- attribute string is generated only when requested, otherwise the attribute values are kept in a dictionary. This was necessary to get rid of the backrefrence to `Interval` in `Attributes` class.