I'm really sorry, I found that in graphrag/general/extractor.py under
def __call__, the line change.removed_nodes.extend(nodes[1:]) causes an
AttributeError: 'set' object has no attribute 'extend'. Could you please
merge the branch e666528 again? I made some modifications.
This commit is contained in:
parent
d0dca16fee
commit
20b8ccd1e9
1 changed files with 1 additions and 1 deletions
|
|
@ -193,7 +193,7 @@ class Extractor:
|
|||
if len(nodes) <= 1:
|
||||
return
|
||||
change.added_updated_nodes.add(nodes[0])
|
||||
change.removed_nodes.extend(nodes[1:])
|
||||
change.removed_nodes.update(nodes[1:])
|
||||
nodes_set = set(nodes)
|
||||
node0_attrs = graph.nodes[nodes[0]]
|
||||
node0_neighbors = set(graph.neighbors(nodes[0]))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue