int-brain-lab / ONE

Open Neurophysiology Environment
MIT License
17 stars 5 forks source link

Add check to see if dtype has a "shape" when checking object shapes #124

Closed chris-langfield closed 4 months ago

chris-langfield commented 4 months ago

Currently in load_object, there is an attribute error when loading an NpzFile because this type does not have a shape. This adds the same check done in check_dimensions to the check done in load_object

chris-langfield commented 4 months ago

Yes please! :)