Remove hidden files when checking version numbers

This commit is contained in:
Michael K. Borregaard 2017-08-27 11:08:26 +02:00
parent 3d0d52f82a
commit 6cb1ed6c92

View File

@ -42,7 +42,8 @@ function image_comparison_tests(pkg::Symbol, idx::Int; debug = false, popup = is
fn = "ref$idx.png" fn = "ref$idx.png"
# firgure out version info # firgure out version info
versions = sort(VersionNumber.(readdir(refdir)), rev = true) vns = filter(x->x[1] != '.', readdir(refdir))
versions = sort(VersionNumber.(vns), rev = true)
versions = filter(v -> v <= _current_plots_version, versions) versions = filter(v -> v <= _current_plots_version, versions)
# @show refdir fn versions # @show refdir fn versions