diff --git a/Manifest.toml b/Manifest.toml index bbcd605befae4e3946638b875ce2ff2fae7fd0fb..72a98a7c5c57c9b09d0a02534e044f45518bb913 100644 --- a/Manifest.toml +++ b/Manifest.toml @@ -310,11 +310,11 @@ version = "1.8.0" [[deps.PlanarLarvae]] deps = ["DelimitedFiles", "HDF5", "JSON3", "LinearAlgebra", "MAT", "Meshes", "OrderedCollections", "SHA", "StaticArrays", "Statistics", "StatsBase", "StructTypes"] -git-tree-sha1 = "f7e528d2ecb7b6ef13aab96fade5b4d0a4c64767" +git-tree-sha1 = "a5226fa20f6f563a82968a0c4714f3a568b3658d" repo-rev = "main" repo-url = "https://gitlab.pasteur.fr/nyx/planarlarvae.jl" uuid = "c2615984-ef14-4d40-b148-916c85b43307" -version = "0.9.0" +version = "0.9.1" [[deps.Preferences]] deps = ["TOML"] diff --git a/Project.toml b/Project.toml index f7d95c40bf9f815922f6ea956ee3d7cb5658c7f8..a9a1942dc3ed35be76e2d25c9ce017a876c2be4f 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "TaggingBackends" uuid = "e551f703-3b82-4335-b341-d497b48d519b" authors = ["François Laurent", "Institut Pasteur"] -version = "0.11.0" +version = "0.11.1" [deps] Dates = "ade2ca70-3891-5945-98fb-dc099432e06a" diff --git a/README.md b/README.md index b475517deab490ff117a58a4d582d02f7e094c12..fed62718f467431d7a382f766362cb3dc131e790 100644 --- a/README.md +++ b/README.md @@ -171,7 +171,7 @@ Note also that, with the above `export` expression, the `JULIA_PROJECT` environm To install a backend, taking MaggotUBA-adapter as an example: ``` -git clone --depth 1 --single-branch -b 20230111 https://gitlab.pasteur.fr/nyx/MaggotUBA-adapter MaggotUBA +git clone --depth 1 --single-branch -b 20230129 https://gitlab.pasteur.fr/nyx/MaggotUBA-adapter MaggotUBA cd MaggotUBA poetry install ``` diff --git a/pyproject.toml b/pyproject.toml index f0e6d26c9fe3068bbe01e3f10177d16790b67807..734c7134be041b1a4874b5f72677545a33af109a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "TaggingBackends" -version = "0.11" +version = "0.11.1" description = "Backbone for LarvaTagger.jl tagging backends" authors = ["François Laurent"] diff --git a/src/LarvaDatasets.jl b/src/LarvaDatasets.jl index 22d590cc09a4509a7117207aea3d194e9b3da433..70d9183f397933c6fab6cc255ed244a95a1efc34 100644 --- a/src/LarvaDatasets.jl +++ b/src/LarvaDatasets.jl @@ -336,6 +336,9 @@ function write_larva_dataset_hdf5(path, counts, files, refs, nsteps_before, nste end attributes(g)["n_samples"] = sampleid # extension + if !isnothing(includeall) + delete!(counts, includeall) + end h5["labels"] = collect(keys(counts)) h5["label_counts"] = collect(values(counts)) #h5["files"] = [f.source for f in files]