From 5b4b45938baf16a96a7b872225ff8547a0fb41fe Mon Sep 17 00:00:00 2001 From: Andrew Davison Date: Tue, 30 Jan 2024 12:14:49 +0100 Subject: [PATCH] Provide a default value for spatial_scale in ImageSequence in NeoMatlabIO --- neo/io/neomatlabio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neo/io/neomatlabio.py b/neo/io/neomatlabio.py index 2d0fe46b8..804b9062f 100644 --- a/neo/io/neomatlabio.py +++ b/neo/io/neomatlabio.py @@ -406,7 +406,7 @@ def create_ob_from_struct(self, struct, classname): if len(arr) > 0: data_complement["spatial_scale"] = arr else: - pass # + data_complement["spatial_scale"] = 1.0 if "times" in (at[0] for at in cl._necessary_attrs) and quantity_attr != "times": # handle IrregularlySampledSignal