From 5a97a7b8314e21ad21402c5fb7ef4a2936a66bd1 Mon Sep 17 00:00:00 2001 From: "kai.schleicher@unibas.ch" Date: Mon, 18 Aug 2025 10:43:15 +0200 Subject: [PATCH] Fix function to not split time points by default --- src/imcflibs/imagej/bdv.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/imcflibs/imagej/bdv.py b/src/imcflibs/imagej/bdv.py index 5cc7b412..af592c8f 100644 --- a/src/imcflibs/imagej/bdv.py +++ b/src/imcflibs/imagej/bdv.py @@ -846,6 +846,12 @@ def define_dataset_auto( hdf5_chunk_sizes = "hdf5_chunk_sizes=" + hdf5_chunk_sizes + " " else: hdf5_chunk_sizes = "" + if timepoints_per_partition > 0: + split_timepoints = "split_hdf5 timepoints_per_partition=" + str( + timepoints_per_partition + ) + else: + split_timepoints = "" if bf_series_type == "Angles": angle_rotation = "apply_angle_rotation " @@ -883,9 +889,7 @@ def define_dataset_auto( + angle_rotation + subsampling_factors + hdf5_chunk_sizes - + "split_hdf5 " - + "timepoints_per_partition=" - + str(timepoints_per_partition) + + split_timepoints + " " + "setups_per_partition=0 " + "use_deflate_compression "