From d17824c6a46a0a737413e5c2f38c74bdcf40fda5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fran=C3=A7ois=20Laurent?= <francois.laurent@posteo.net>
Date: Sat, 23 Sep 2023 11:22:51 +0200
Subject: [PATCH] hotfix for previous commit

---
 src/LarvaDatasets.jl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/LarvaDatasets.jl b/src/LarvaDatasets.jl
index c63d4a0..1e90013 100644
--- a/src/LarvaDatasets.jl
+++ b/src/LarvaDatasets.jl
@@ -706,7 +706,7 @@ function new_write_larva_dataset_hdf5(output_dir, input_data;
             # ensure labels are ordered as provided in input;
             # see https://gitlab.pasteur.fr/nyx/TaggingBackends/-/issues/24
             if labels isa AbstractDict
-                labels = collect(keys(labels))
+                labels = string.(keys(labels))
             end
             h5["labels"] = labels
             h5["label_counts"] = [get(classcounts, Symbol(label), 0) for label in labels]
-- 
GitLab