Skip to content

Commit d40696a

Browse files
fixes
1 parent 2c5d64c commit d40696a

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

src/CiteSeer/CiteSeer.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function __init__()
3939
Dataset: The $DEPNAME dataset.
4040
Website: $DOCS
4141
""",
42-
joinpath.(LINK, DATA),
42+
map(x -> "$LINK/$x", DATA),
4343
"7f7ec4df97215c573eee316de35754d89382011dfd9fb2b954a4a491057e3eb3", # if checksum omitted, will be generated by DataDeps
4444
# post_fetch_method = unpack
4545
))

src/Cora/Cora.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ function __init__()
5555
Dataset: The $DEPNAME dataset.
5656
Website: $DOCS
5757
""",
58-
joinpath.(LINK, DATA),
58+
map(x -> "$LINK/$x", DATA),
5959
"81de017067dc045ebdb8ffd5c0e69a209973ffdb1fe2d5b434e94d3614f3f5c7", # if checksum omitted, will be generated by DataDeps
6060
# post_fetch_method = unpack
6161
))

src/PubMed/PubMed.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function __init__()
3939
Dataset: The $DEPNAME dataset.
4040
Website: $DOCS
4141
""",
42-
joinpath.(LINK, DATA),
42+
map(x -> "$LINK/$x", DATA),
4343
"0b8bf8e80564611b540655e9cbb8c5900dd3728d4ababe0b990b6f27144bd76c", # if checksum omitted, will be generated by DataDeps
4444
# post_fetch_method = unpack
4545
))

test/tst_citeseer.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ end
1515
@test size(data.test_indices) == (1015,)
1616
@test size(data.adjacency_list) == (data.num_nodes, )
1717
@test sum(length.(data.adjacency_list)) == (data.num_edges)
18-
@test minimum(minimum.(data.adjacency_list; init=1000)) == 1
19-
@test maximum(maximum.(data.adjacency_list; init=1000)) == data.num_nodes
18+
if VERSION >= v"1.6.0"
19+
@test minimum(minimum.(data.adjacency_list; init=1000)) == 1
20+
@test maximum(maximum.(data.adjacency_list; init=1000)) == data.num_nodes
21+
end
2022
end

0 commit comments

Comments
 (0)