catalystneuro / lazy_ops

Lazy transposing and slicing of h5py and Zarr Datasets
BSD 3-Clause "New" or "Revised" License
3 stars 3 forks source link

Always check for int and np.integer #25

Closed alejoe91 closed 4 years ago

alejoe91 commented 4 years ago

Fixes this https://github.com/catalystneuro/lazy_ops/issues/22 by always checking integers as isinstance(el, (int, np.integer)

More numpy friendly!