scipp / scippnexus

h5py-like utility for NeXus files with seamless scipp integration
https://scipp.github.io/scippnexus/
BSD 3-Clause "New" or "Revised" License
3 stars 4 forks source link

Fix exception when iterating NXobject that cannot be loaded #58

Closed SimonHeybrock closed 2 years ago

SimonHeybrock commented 2 years ago

Without __iter__ Python apparently just calls __getitem__ with integers starting at 0 (until IndexError).