
Sept. 24, 2013
10:02 p.m.
On Mon, 23 Sep 2013 10:43:42 -0500, Thomas A Caswell wrote:
My concern with this proposal is now the user has two independent ways to pass in the same information. If inconsistent information is passed in the library has to make a decision about which one takes precedence. This adds to the complexity of the function and can only lead to confusion on the part of the users when they think the precedence should have the opposite order.
Let's postpone this API decision until we have more certainty on how it'd be used. For now, my_func(image, sampling=image.sampling) is quite adequate. It still allows the user to add sampling information to their images, if they'd so wish. St�fan
4183
Age (days ago)
4183
Last active (days ago)
0 comments
1 participants
participants (1)
-
Stéfan van der Walt