File tree 2 files changed +6
-4
lines changed 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -29,8 +29,10 @@ def _init():
29
29
base_path = ir_datasets .util .home_path ()/ NAME
30
30
31
31
def _dlc_init ():
32
+ import json , gzip
32
33
dlc = DownloadConfig .context (NAME , base_path )
33
- clirmatrix_dlc = _DownloadConfig (dlc ['downloads' ].path (), parser = 'json' )
34
+ with gzip .open (dlc ['downloads' ].path (), 'rb' ) as f :
35
+ clirmatrix_dlc = _DownloadConfig (contents = json .load (f ))
34
36
return clirmatrix_dlc
35
37
36
38
_dlc = ir_datasets .util .Lazy (_dlc_init )
Original file line number Diff line number Diff line change @@ -107,9 +107,9 @@ clinicaltrials:
107
107
108
108
clirmatrix :
109
109
downloads :
110
- url : ' https ://macavaney.us/clirmatrix_downloads .json' # TODO: move this to JHU server?
111
- expected_md5 : ' 9e70cd85ec45caa8c16061c42d1ce9b8 '
112
- cache_path : ' clirmatrix_downloads.json'
110
+ url : ' http ://www.cs.jhu.edu/~shuosun/clirmatrix/data/downloads .json.gz '
111
+ expected_md5 : ' 371cc532aca236759bd3602eb6ce2181 '
112
+ cache_path : ' clirmatrix_downloads.json.gz '
113
113
114
114
115
115
clueweb09 :
You can’t perform that action at this time.
0 commit comments