From 81583020cf20cdd9dbc6c6d4a7b2218679177c34 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fran=C3=A7ois=20Laurent?= <francois.laurent@posteo.net>
Date: Sat, 24 Dec 2022 17:37:21 +0100
Subject: [PATCH] bugfix in write_larva_dataset_hdf5

---
 Project.toml         | 2 +-
 pyproject.toml       | 2 +-
 src/LarvaDatasets.jl | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Project.toml b/Project.toml
index 95c3fdc..c8d4dae 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.6.1"
+version = "0.6.2"
 
 [deps]
 Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
diff --git a/pyproject.toml b/pyproject.toml
index 541fc80..03a8dd3 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
 [tool.poetry]
 name = "TaggingBackends"
-version = "0.6.1"
+version = "0.6.2"
 description = "Backbone for LarvaTagger.jl tagging backends"
 authors = ["François Laurent"]
 
diff --git a/src/LarvaDatasets.jl b/src/LarvaDatasets.jl
index 4f54372..3e89f95 100644
--- a/src/LarvaDatasets.jl
+++ b/src/LarvaDatasets.jl
@@ -271,7 +271,7 @@ function write_larva_dataset_hdf5(path, counts, files, refs, nsteps_before, nste
         end
     end
     h5open(path, "w") do h5
-        g = make_dataset(h5, "samples")
+        g = create_group(h5, "samples")
         Threads.foreach(ch) do (file, refs, sampleid)
             @info "Sampling series of spines in run: $(runid(file))"
             processfile(g, file, refs, sampleid, nsteps_before, nsteps_after;
-- 
GitLab