def remove_negativescores_nodes(self):
        gravity_items = self.parser.css_select(self.top_node, "*[gravityScore]")
        for item in gravity_items:
            score = self.parser.getAttribute(item, 'gravityScore')
            score = int(score, 0)
            if score < 1:
                item.getparent().remove(item)
if there are elements inside our top node
dataset/ETHPy150Open xiaoxu193/PyTeaser/goose/outputformatters.py/OutputFormatter.remove_negativescores_nodes