divelab / DIG

A library for graph deep learning research
https://diveintographs.readthedocs.io/
GNU General Public License v3.0
1.81k stars 281 forks source link

`__call__` of `SubgraphX` returns List instead of `MCTSNode` #198

Open Michael1015198808 opened 1 year ago

Michael1015198808 commented 1 year ago

It seems that the __call__ method of SubgraphX returns wrong type that made me thought List is the expected type. In __call__, the explanation_results appends items from explain (line 855) While in line 818 of explain, the item is changed into List by method write_from_MCTSNode_list. Since the suspicious code is located into the lowest level of code, I hope this bug could be fixed.