Skip to content
Snippets Groups Projects
Commit 11c00bec authored by François  LAURENT's avatar François LAURENT
Browse files
parent 5f105da5
No related branches found
No related tags found
No related merge requests found
...@@ -336,6 +336,9 @@ function write_larva_dataset_hdf5(path, counts, files, refs, nsteps_before, nste ...@@ -336,6 +336,9 @@ function write_larva_dataset_hdf5(path, counts, files, refs, nsteps_before, nste
end end
attributes(g)["n_samples"] = sampleid attributes(g)["n_samples"] = sampleid
# extension # extension
if !isnothing(includeall)
delete!(counts, includeall)
end
h5["labels"] = collect(keys(counts)) h5["labels"] = collect(keys(counts))
h5["label_counts"] = collect(values(counts)) h5["label_counts"] = collect(values(counts))
#h5["files"] = [f.source for f in files] #h5["files"] = [f.source for f in files]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment