From 8ffcaa1546c38461e25b70d56f5c31849f6d4b04 Mon Sep 17 00:00:00 2001 From: Devesh Date: Sat, 25 Nov 2023 10:15:52 -0600 Subject: [PATCH 1/2] Removed columns --- .vscode/settings.json | 6 ++++++ src/python/tools/preprocess/datasets/ogbn_products.py | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..d99f2f30 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,6 @@ +{ + "[python]": { + "editor.defaultFormatter": "ms-python.black-formatter" + }, + "python.formatting.provider": "none" +} \ No newline at end of file diff --git a/src/python/tools/preprocess/datasets/ogbn_products.py b/src/python/tools/preprocess/datasets/ogbn_products.py index bade27c6..d28e43ed 100644 --- a/src/python/tools/preprocess/datasets/ogbn_products.py +++ b/src/python/tools/preprocess/datasets/ogbn_products.py @@ -80,7 +80,6 @@ def preprocess( output_dir=self.output_directory, train_edges=self.input_edge_list_file, num_partitions=num_partitions, - columns=[0, 1], src_column=0, dst_column=1, remap_ids=remap_ids, From 2cb7d146bf0c1aebc24325724e58ba87ab8b4fb2 Mon Sep 17 00:00:00 2001 From: Devesh Date: Sat, 25 Nov 2023 10:20:52 -0600 Subject: [PATCH 2/2] Ignore vscode settings --- .gitignore | 1 + .vscode/settings.json | 6 ------ 2 files changed, 1 insertion(+), 6 deletions(-) delete mode 100644 .vscode/settings.json diff --git a/.gitignore b/.gitignore index 7e75fc8b..fc3631ed 100644 --- a/.gitignore +++ b/.gitignore @@ -171,3 +171,4 @@ Thumbs.db # End of https://www.toptal.com/developers/gitignore/api/python +.vscode/* \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index d99f2f30..00000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "[python]": { - "editor.defaultFormatter": "ms-python.black-formatter" - }, - "python.formatting.provider": "none" -} \ No newline at end of file