Skip to content

Commit 5b4b459

Browse files
committed
Provide a default value for spatial_scale in ImageSequence in NeoMatlabIO
1 parent b76672a commit 5b4b459

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

neo/io/neomatlabio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ def create_ob_from_struct(self, struct, classname):
406406
if len(arr) > 0:
407407
data_complement["spatial_scale"] = arr
408408
else:
409-
pass #
409+
data_complement["spatial_scale"] = 1.0
410410

411411
if "times" in (at[0] for at in cl._necessary_attrs) and quantity_attr != "times":
412412
# handle IrregularlySampledSignal

0 commit comments

Comments
 (0)