[cctbxbb] Inconsistency between numpy and flex (sclice notation)

Luc Bourhis luc_j_bourhis at mac.com
Mon Jan 2 12:05:58 PST 2012


On 2 Jan 2012, at 19:47, Richard Gildea wrote:

> I think that the following does more or less what you want:
> 
> flex.show(grid[1:2,:])
> 
> Currently the multidimensional slicing only accepts slices as all the arguments, not a mixture of slices and integers.

aha! I see that in June, you have implemented multidimensional slicing indeed. I hadn't noticed. Disregard my suggestion then, Jan, but my remark about copying versus proxying is still relevant.

Luc



More information about the cctbxbb mailing list