We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3a6699 commit 857e20fCopy full SHA for 857e20f
1 file changed
graphflex/neighbourhood/extractor.py
@@ -27,7 +27,9 @@ def get_neighborhoods(self, noi, depth):
27
composite_key = f"{key}¥{nkey}"
28
else:
29
composite_key = f"{nkey}"
30
- next_level[composite_key] = value
+ if composite_key not in next_level:
31
+ next_level[composite_key] = []
32
+ next_level[composite_key].extend(value)
33
34
neighbours[d] = next_level
35
return neighbours
0 commit comments