Skip to content

Commit dd52a82

Browse files
committed
setting DATADEPS_ALWAYS_ACCEPT variable for download of the dataset in jldoctest
1 parent 49a9622 commit dd52a82

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Mutagenesis/Mutagenesis.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ Train, test and validation data can be loaded using:
1414
```jldoctest
1515
julia> using MLDatasets: Mutagenesis
1616
17-
julia> train_x, train_y = Mutagenesis.traindata();
17+
julia> train_x, train_y = withenv("DATADEPS_ALWAYS_ACCEPT"=>"true") do
18+
Mutagenesis.traindata();
19+
end
1820
1921
julia> test_x, test_y = Mutagenesis.testdata();
2022

0 commit comments

Comments
 (0)