From 959bce63ef92e39533836185ab4e761ae7d33000 Mon Sep 17 00:00:00 2001 From: nhz2 Date: Thu, 21 Dec 2023 23:08:56 -0500 Subject: [PATCH] avoid reading output --- Project.toml | 4 ++-- src/run-sim.jl | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Project.toml b/Project.toml index c23f192..0911c5f 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "MEDYANSimRunner" uuid = "b58a3b99-22e3-44d1-b5ea-258f082a6fe8" authors = ["nhz2 "] -version = "0.5.3" +version = "0.5.4" [deps] ArgCheck = "dce04be8-c92d-5529-be00-80e4d2c0e197" @@ -29,5 +29,5 @@ LoggingExtras = "1" OrderedCollections = "1" Random = "1" SHA = "0.7, 1" -SmallZarrGroups = "0.7.1, 0.8" +SmallZarrGroups = "0.8.3" julia = "1.9" diff --git a/src/run-sim.jl b/src/run-sim.jl index 1b906c9..5edce14 100644 --- a/src/run-sim.jl +++ b/src/run-sim.jl @@ -337,8 +337,11 @@ function zip_group(g::ZGroup)::Vector{UInt8} take!(io) end +# ignores the top level "out" group function unzip_group(data::Vector{UInt8})::ZGroup - SmallZarrGroups.load_zip(data) + SmallZarrGroups.load_zip(data; + predicate=!startswith("out/"), + ) end