2e3f8d2780b0b4c18f01a678989379847ba4b5d0,torch_geometric/datasets/pubmed.py,PubMed,download,#PubMed#,60
Before Change
file_path = download_url(self.url, self.raw_folder)
extract_zip(file_path, self.raw_folder)
os.unlink(file_path)
def process(self):
if self._check_processed():
return
After Change
print("Downloading {}".format(self.url))
ext = ["x", "y", "tx", "ty", "allx", "ally", "graph", "test.index"]
for e in ext:
url = "{}/ind.{}.{}".format(self.url, "pubmed", e)
download_url(url, self.raw_folder)
def process(self):
if self._check_processed():
return
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: rusty1s/pytorch_geometric
Commit Name: 2e3f8d2780b0b4c18f01a678989379847ba4b5d0
Time: 2017-10-31
Author: matthias.fey@tu-dortmund.de
File Name: torch_geometric/datasets/pubmed.py
Class Name: PubMed
Method Name: download
Project Name: explosion/thinc
Commit Name: a6307a080b4edd2050dcd0a6fb0b753efbc17e12
Time: 2015-12-22
Author: pete@dexterslab.de
File Name: setup.py
Class Name:
Method Name: clean
Project Name: rusty1s/pytorch_geometric
Commit Name: 2e3f8d2780b0b4c18f01a678989379847ba4b5d0
Time: 2017-10-31
Author: matthias.fey@tu-dortmund.de
File Name: torch_geometric/datasets/cora.py
Class Name: Cora
Method Name: download