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

methods should be underscore_case #5

Closed bendichter closed 5 years ago

bendichter commented 5 years ago

I think I may have caused some confusion when changing things. According to PEP8, class names should be CamelCase (source) and instances and methods should be underscore_case (source), so the syntax should be:

dsetview.lazy_slice[1:10:2,:,0:50:5].lazy_transpose([2,0,1]).lazy_slice[25:55,1,1:4:1,:]
d-sot commented 5 years ago

The methods use the correct naming convention now.