snap-stanford / ogb

Benchmark datasets, data loaders, and evaluators for graph machine learning
https://ogb.stanford.edu
MIT License
1.89k stars 397 forks source link

Small bug in save_dataset.py #342

Closed jqmcginnis closed 1 year ago

jqmcginnis commented 2 years ago

When exporting my dataset, I discovered a small bug in save_dataset.py

https://github.com/snap-stanford/ogb/blob/358719af702957eaf14c235c972e092c2e302ebd/ogb/io/save_dataset.py#L464

Proposed change:

meta_dict['has_edge_attr'] = str(self.has_edge_attr)

weihua916 commented 2 years ago

Merged!

Use this feature for now via

pip install git+https://github.com/snap-stanford/ogb.git