(self, node, attr, value)
| 442 | self._triples = penman.alphanum_order(triples) |
| 443 | |
| 444 | def remove_node_attribute(self, node, attr, value): |
| 445 | node.remove_attribute(attr, value) |
| 446 | triples = [t for t in self._triples if |
| 447 | not (t.source == node.identifier and t.relation == attr and t.target == value)] |
| 448 | self._update_penman_graph(triples) |
| 449 | |
| 450 | def add_node_attribute(self, node, attr, value): |
| 451 | node.add_attribute(attr, value) |
no test coverage detected