def __parseInfo( self, attributes, line ):
        # remove comments
        attributes = attributes.split( "#" )[0]
        # separate into fields
        fields = map( lambda x: x.strip(), attributes.split(";")[:-1])
        self.mAttributes = {}

        for f in fields:
            
            d = map( lambda x: x.strip(), f.split(" "))
            n,v = d[0], d[1]
            if len(d) > 2: v = d[1:]

            if v[0] == '"' and v[-1] == '"':
                v = v[1:-1]
            else:
                ## try to convert to a value
                try:
                    v = float( v )
                    v = int( v )
                except ValueError:
                    pass
                except TypeError:
                    pass

            self.mAttributes[n] = v
Move parents Django model to diffrent model inheriting from
dataset/ETHPy150Open CGATOxford/cgat/obsolete/GFF.py/Entry.__parseInfo--crossover with--dataset/ETHPy150Open allegro/ralph/src/ralph/assets/utils.py/move_parents_models