Skip to content

Commit

Permalink
Fix dataset-igbh register in cache
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunsuresh committed Dec 27, 2024
1 parent 61d969f commit 17fc069
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 40 deletions.
80 changes: 40 additions & 40 deletions script/get-dataset-igbh/_cm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ prehook_deps:
- CM_OUTDIRNAME
force_cache: true
enable_if_env:
CM_DATASET_IGBH_TYPE:
- 'full'
CM_DATASET_IGBH_FULL_DOWNLOAD:
- 'yes'
names:
- dae
- paper-node-feat
Expand All @@ -60,8 +60,8 @@ prehook_deps:
- CM_OUTDIRNAME
force_cache: true
enable_if_env:
CM_DATASET_IGBH_TYPE:
- 'full'
CM_DATASET_IGBH_FULL_DOWNLOAD:
- 'yes'
names:
- dae
- paper-node-label19
Expand All @@ -79,8 +79,8 @@ prehook_deps:
force_env_keys:
- CM_OUTDIRNAME
enable_if_env:
CM_DATASET_IGBH_TYPE:
- 'full'
CM_DATASET_IGBH_FULL_DOWNLOAD:
- 'yes'
names:
- dae
- paper-node-label2k
Expand All @@ -98,8 +98,8 @@ prehook_deps:
force_env_keys:
- CM_OUTDIRNAME
enable_if_env:
CM_DATASET_IGBH_TYPE:
- 'full'
CM_DATASET_IGBH_FULL_DOWNLOAD:
- 'yes'
names:
- dae
- paper-id-index-mapping
Expand All @@ -118,8 +118,8 @@ prehook_deps:
force_env_keys:
- CM_OUTDIRNAME
enable_if_env:
CM_DATASET_IGBH_TYPE:
- 'full'
CM_DATASET_IGBH_FULL_DOWNLOAD:
- 'yes'
names:
- dae
- edge-index
Expand All @@ -138,8 +138,8 @@ prehook_deps:
force_env_keys:
- CM_OUTDIRNAME
enable_if_env:
CM_DATASET_IGBH_TYPE:
- 'full'
CM_DATASET_IGBH_FULL_DOWNLOAD:
- 'yes'
names:
- dae
- author-id-index-mapping
Expand All @@ -157,8 +157,8 @@ prehook_deps:
force_env_keys:
- CM_OUTDIRNAME
enable_if_env:
CM_DATASET_IGBH_TYPE:
- 'full'
CM_DATASET_IGBH_FULL_DOWNLOAD:
- 'yes'
names:
- dae
- author-node-feat
Expand All @@ -177,8 +177,8 @@ prehook_deps:
force_env_keys:
- CM_OUTDIRNAME
enable_if_env:
CM_DATASET_IGBH_TYPE:
- 'full'
CM_DATASET_IGBH_FULL_DOWNLOAD:
- 'yes'
names:
- dae
- conference-id-index-mapping
Expand All @@ -196,8 +196,8 @@ prehook_deps:
force_env_keys:
- CM_OUTDIRNAME
enable_if_env:
CM_DATASET_IGBH_TYPE:
- 'full'
CM_DATASET_IGBH_FULL_DOWNLOAD:
- 'yes'
names:
- dae
- conference-node-feat
Expand All @@ -216,8 +216,8 @@ prehook_deps:
force_env_keys:
- CM_OUTDIRNAME
enable_if_env:
CM_DATASET_IGBH_TYPE:
- 'full'
CM_DATASET_IGBH_FULL_DOWNLOAD:
- 'yes'
names:
- dae
- institute-id-index-mapping
Expand All @@ -235,8 +235,8 @@ prehook_deps:
force_env_keys:
- CM_OUTDIRNAME
enable_if_env:
CM_DATASET_IGBH_TYPE:
- 'full'
CM_DATASET_IGBH_FULL_DOWNLOAD:
- 'yes'
names:
- dae
- institute-node-feat
Expand All @@ -255,8 +255,8 @@ prehook_deps:
force_env_keys:
- CM_OUTDIRNAME
enable_if_env:
CM_DATASET_IGBH_TYPE:
- 'full'
CM_DATASET_IGBH_FULL_DOWNLOAD:
- 'yes'
names:
- dae
- journal-id-index-mapping
Expand All @@ -274,8 +274,8 @@ prehook_deps:
force_env_keys:
- CM_OUTDIRNAME
enable_if_env:
CM_DATASET_IGBH_TYPE:
- 'full'
CM_DATASET_IGBH_FULL_DOWNLOAD:
- 'yes'
names:
- dae
- journal-node-feat
Expand All @@ -294,8 +294,8 @@ prehook_deps:
force_env_keys:
- CM_OUTDIRNAME
enable_if_env:
CM_DATASET_IGBH_TYPE:
- 'full'
CM_DATASET_IGBH_FULL_DOWNLOAD:
- 'yes'
names:
- dae
- fos-id-index-mapping
Expand All @@ -313,8 +313,8 @@ prehook_deps:
force_env_keys:
- CM_OUTDIRNAME
enable_if_env:
CM_DATASET_IGBH_TYPE:
- 'full'
CM_DATASET_IGBH_FULL_DOWNLOAD:
- 'yes'
names:
- dae
- fos-node-feat
Expand All @@ -333,8 +333,8 @@ prehook_deps:
force_env_keys:
- CM_OUTDIRNAME
enable_if_env:
CM_DATASET_IGBH_TYPE:
- 'full'
CM_DATASET_IGBH_FULL_DOWNLOAD:
- 'yes'
names:
- dae
- author-to-institute-edge-index
Expand All @@ -353,8 +353,8 @@ prehook_deps:
force_env_keys:
- CM_OUTDIRNAME
enable_if_env:
CM_DATASET_IGBH_TYPE:
- 'full'
CM_DATASET_IGBH_FULL_DOWNLOAD:
- 'yes'
names:
- dae
- paper-published-journal-edge-index
Expand All @@ -373,8 +373,8 @@ prehook_deps:
force_env_keys:
- CM_OUTDIRNAME
enable_if_env:
CM_DATASET_IGBH_TYPE:
- 'full'
CM_DATASET_IGBH_FULL_DOWNLOAD:
- 'yes'
names:
- dae
- paper-topic-fos-edge-index
Expand All @@ -393,8 +393,8 @@ prehook_deps:
force_env_keys:
- CM_OUTDIRNAME
enable_if_env:
CM_DATASET_IGBH_TYPE:
- 'full'
CM_DATASET_IGBH_FULL_DOWNLOAD:
- 'yes'
names:
- dae
- paper-venue-conference-edge-index
Expand All @@ -413,8 +413,8 @@ prehook_deps:
force_env_keys:
- CM_OUTDIRNAME
enable_if_env:
CM_DATASET_IGBH_TYPE:
- 'full'
CM_DATASET_IGBH_FULL_DOWNLOAD:
- 'yes'
names:
- dae
- paper-written-by-author-edge-index
Expand Down
3 changes: 3 additions & 0 deletions script/get-dataset-igbh/customize.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ def preprocess(i):
run_cmd += x_sep + env['CM_PYTHON_BIN_WITH_PATH'] + \
f" tools/download_igbh_test.py --target-path {download_loc} "

else:
env['CM_DATASET_IGBH_FULL_DOWNLOAD'] = 'yes'

# split seeds
run_cmd += x_sep + \
f"""{
Expand Down

0 comments on commit 17fc069

Please sign in to comment.