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
bdcdc4b4
Commit
bdcdc4b4
authored
Feb 11, 2021
by
Miroslav Kratochvil
🚴
Browse files
fix the sha256 checksum of the file in tests
well, who'd say it's hashing the filename?
parent
dc66bad7
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/loadEColi.jl
View file @
bdcdc4b4
...
...
@@ -5,8 +5,9 @@ if !isfile(sbmlfile)
download
(
"http://systemsbiology.ucsd.edu/sites/systemsbiology.ucsd.edu/files/Attachments/Images/InSilicoOrganisms/Ecoli/Ecoli_SBML/Ec_core_flux1.xml"
,
sbmlfile
)
end
if
bytes2hex
(
sha256
(
sbmlfile
))
!=
"e3d18499660a0f7fc15a5a44f33f001c7881ac99a2e8a6a461edf1cf3d69a537"
@warn
"The downloaded E Coli core flux model seems to be different from the expected one. Tests will likely fail."
cksum
=
bytes2hex
(
sha256
(
open
(
sbmlfile
)))
if
cksum
!=
"01a883b364fa60582101ca1e270515e7fcb3fb2f60084d92e5ee45f9f72bbe50"
@warn
"The downloaded E Coli core flux model seems to be different from the expected one. Tests will likely fail."
cksum
end
@testset
"SBML model loading"
begin
...
...
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