Skip to content

Commit

Permalink
Suppressor added
Browse files Browse the repository at this point in the history
  • Loading branch information
montyvesselinov committed Nov 5, 2018
1 parent 14284e6 commit 3126b37
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion REQUIRE
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ julia 0.7
Compat 0.8
DataStructures
JLD2
FileIO
FileIO
Suppressor
3 changes: 2 additions & 1 deletion src/ReusableFunctions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ import JLD2
import FileIO
import DataStructures
import Compat
import Suppressor
import Compat.String

"Reset restarts counter"
Expand Down Expand Up @@ -77,7 +78,7 @@ end
"Load JLD result file"
function loadresultfile(filename::String; key::String="result")
try
result = FileIO.load(filename, key)
@Suppressor.suppress result = FileIO.load(filename, key)
return result
catch
return nothing
Expand Down

0 comments on commit 3126b37

Please sign in to comment.