Skip to content
Snippets Groups Projects
Commit 926679c7 authored by François  LAURENT's avatar François LAURENT
Browse files

absurd bug fixed

parent 07b69622
No related branches found
No related tags found
No related merge requests found
Pipeline #104245 passed
......@@ -312,7 +312,7 @@ version = "1.9.0"
[[deps.PlanarLarvae]]
deps = ["DelimitedFiles", "HDF5", "JSON3", "LinearAlgebra", "MAT", "Meshes", "OrderedCollections", "Random", "SHA", "StaticArrays", "Statistics", "StatsBase", "StructTypes"]
git-tree-sha1 = "fe89d5f592c8ba763a13330cde6696f721f828c7"
git-tree-sha1 = "6d1f48b16424c847829a325cc9f49329becf9cf8"
repo-rev = "dev"
repo-url = "https://gitlab.pasteur.fr/nyx/planarlarvae.jl"
uuid = "c2615984-ef14-4d40-b148-916c85b43307"
......
......@@ -626,9 +626,8 @@ function new_write_larva_dataset_hdf5(output_dir, input_data;
win = window_length # shorter name to keep next line within the allowed text width
output_file = "larva_dataset_$(date)_$(win)_$(win)_$(total_sample_size).hdf5"
output_file = joinpath(output_dir, output_file)
c = Threads.Condition()
h5open(output_file, "w") do h5
create_group(h5, "samples")
g = create_group(h5, "samples")
sample(loader, :spine) do _, file, counts, segments
sampleid, nsegments = counts
@assert length(segments) == nsegments
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment