Skip to content

Commit

Permalink
Provide a default value for spatial_scale in ImageSequence in NeoMatl…
Browse files Browse the repository at this point in the history
…abIO
  • Loading branch information
apdavison committed Jan 30, 2024
1 parent b76672a commit 5b4b459
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neo/io/neomatlabio.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5b4b459

Please sign in to comment.