Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
LCSB-BioCore
SBML.jl
Commits
e37aefd6
Commit
e37aefd6
authored
Jun 15, 2021
by
Miroslav Kratochvil
🚴
Browse files
import `download` from Downloads
parent
3500090e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Project.toml
View file @
e37aefd6
...
...
@@ -13,3 +13,9 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
[compat]
julia
=
"1"
[extras]
Downloads
=
"f43a241f-c20a-4ad4-852c-f6b1247861c6"
[targets]
test
=
["Downloads"]
test/loadmodels.jl
View file @
e37aefd6
...
...
@@ -29,7 +29,7 @@ sbmlfiles = [
@testset
"Loading of models from various sources"
begin
for
(
sbmlfile
,
url
,
hash
,
expected_mets
,
expected_rxns
)
in
sbmlfiles
if
!
isfile
(
sbmlfile
)
download
(
url
,
sbmlfile
)
Downloads
.
download
(
url
,
sbmlfile
)
end
cksum
=
bytes2hex
(
sha256
(
open
(
sbmlfile
)))
...
...
test/runtests.jl
View file @
e37aefd6
using
Test
,
SHA
,
SparseArrays
using
Test
,
SHA
,
SparseArrays
,
Downloads
using
SBML
using
SBML
:
Model
,
Reaction
,
Species
import
Pkg
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment